/*
Theme Name: rimc
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@font-face {
    font-family: 'Redaction 10';
    src: url('/wp-content/themes/rimc/assets/fonts/Redaction10-Regular.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Redaction10-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Redaction 10';
    src: url('/wp-content/themes/rimc/assets/fonts/Redaction10-Bold.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Redaction10-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Redaction 10';
    src: url('/wp-content/themes/rimc/assets/fonts/Redaction10-Bold.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Redaction10-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Redaction 10';
    src: url('/wp-content/themes/rimc/assets/fonts/Redaction10-Italic.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Redaction10-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Redaction 10';
    src: url('/wp-content/themes/rimc/assets/fonts/Redaction10-Bold.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Redaction10-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Redaction 10';
    src: url('/wp-content/themes/rimc/assets/fonts/Redaction10-Bold.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Redaction10-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Redaction 10';
    src: url('/wp-content/themes/rimc/assets/fonts/Redaction10-Bold.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Redaction10-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-BlackItalic.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-Black.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-Bold.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-BoldItalic.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-ExtraBoldItalic.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-ExtraBoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-ExtraBold.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-ExtraLightItalic.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-ExtraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-ExtraLight.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-Light.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-Italic.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-LightItalic.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-Thin.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-Regular.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-Medium.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-ThinItalic.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-ThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-SemiBold.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-MediumItalic.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/wp-content/themes/rimc/assets/fonts/Archivo-SemiBoldItalic.woff2') format('woff2'),
        url('/wp-content/themes/rimc/assets/fonts/Archivo-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}




/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
    --slide-count: 4;
    /* 	--slide-width: calc(100% / var(--slide-count)); */
    --slide-width: 250px;
    --slide-count-double: calc(var(--slide-count) * 2);
    --slide-animation-time: 10s;
}

html {
    background: white;
}

#wrapper {
    background-image: url(http://krossmidlun.is/wp-content/uploads/2025/06/bakgrunnurminni.png) !important;
    background-color: rgba(255, 255, 255, 0.7);
    background-blend-mode: lighten;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    min-height: 100vh;
}

.mfp-wrap.off-canvas .mfp-bg.mfp-bg.mfp-bg.mfp-bg,
.mfp-wrap.off-canvas .mfp-container {
    background-image: url(http://krossmidlun.is/wp-content/uploads/2025/06/bakgrunnurminni.png) !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    background-blend-mode: lighten;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    min-height: 100vh;
    opacity: 1;
}

.mfp-wrap.off-canvas .menu-item a {
    color: #000;
    font-family: "Redaction 10" !important;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

@media screen and (max-width: 800px) {
    .mfp-wrap.off-canvas .menu-item a {
        justify-content: flex-start;
        border-bottom: 1px solid black;
        padding-left: 3rem;
        color: black;
    }

    .mfp-wrap.off-canvas .mfp-content {
        height: 100%;
    }
}

#main,
.header-wrapper.header-wrapper.header-wrapper {
    background: transparent !important;
}

@media only screen and (max-width: 48em) {}

.hero-text {
    display: flex;
    justify-content: space-between;

}

h1 {
    color: #000;
    text-align: center;
    font-family: "Redaction 10" !important;
    font-size: 6.3125rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    text-transform: uppercase;
}
.speaker-page h1 {
	text-transform: unset;
}

.h2 {
    text-align: left;
}

.absolute-footer {
    display: none;
}

.hero-text-column,
.hero-text-column .col-inner .hero-text-column .text {
    max-width: fit-content;
    margin: auto;
}

.hero-text-column p {
    color: #000;
    text-align: right;
    font-family: Archivo;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5625rem;
    /* 156.25% */
    text-transform: uppercase;
}

p.hero-subtitle {
    margin: 0;
    color: #000;
    text-align: center;
    font-family: Archivo;
    font-size: 1.625rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.nav-left {
    justify-content: space-around !important;
}

.header.transparent * {
    background: transparent !important;
}

#header,
#header * {
    box-shadow: none !important;
}

.header-main .nav>li>a.nav-top-link {
    color: black;
}

.nav-icon.has-icon a {
    width: 25px;
    height: 21.81px;
    position: relative;
}

a i.icon-menu {
    position: absolute;
    inset: 0;
}

a i.icon-menu:before {
    position: absolute;
    inset: 0;
    display: block;
    content: "";
    background: url(http://krossmidlun.is/wp-content/uploads/2025/06/hamburger.svg);
    background-size: contain;
    background-repeat: no-repeat;
}


.speaker-slider-wrapper {
    display: flex;
    flex-direction: column;
}

.speaker-slider.container {
    display: flex;
    flex-direction: row;
}

.speaker-slider-container {
    border: 1px solid black;
    padding: 2rem;
}

.speaker-slide-track {
    -webkit-animation: scroll var(--slide-animation-time) linear infinite;
    animation: scroll var(--slide-animation-time) linear infinite;
    display: flex;
    width: calc(var(--slide-width) * var(--slide-count-double));
    align-items: center;
    /*   width: calc(var(--slide-width) * var(--slide-count)); */


}

.speaker-slide {
    width: var(--slide-width);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(calc(var(--slide-width) * -1) * calc(var(--slide-count-double))));
    }
}

a.speaker-slider-button {
    color: white;
    aspect-ratio: 1;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
    border-radius: 50%;
    padding: 20px;
    transform: translatey(35%);
    text-align: center;
    color: #FFF;
    text-align: center;
    font-family: Archivo;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    z-index: 2;
    max-width: 100px;
}

.speaker-slider {
    overflow: hidden;
}

.speaker-name {
    text-transform: uppercase;
    margin: 0;
    color: #000;
    font-family: Archivo !important;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.speaker-title {
    text-transform: uppercase;
    color: #000;
    font-family: Archivo;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.info-big {
    color: #000;
    font-family: "Redaction 10";
    font-size: 3.75rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.info-small {
    color: #000;
    font-family: Archivo;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5625rem;
    /* 156.25% */
    text-transform: uppercase;
}

.main-speaker-info {
    color: #000;
    font-family: Archivo;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5625rem;
    /* 156.25% */
    text-transform: uppercase;
}

h2 {
    color: #000;
    font-family: "Redaction 10" !important;
    font-size: 3.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.speaker-job-title {
    color: #000;
    font-family: Archivo;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

h3 {
    color: #000;
    font-family: "Redaction 10" !important;
    font-size: 1.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.video-container {
    pointer-events: none;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: 'a';
    justify-content: center;
    align-items: center;
    justify-items: center;
}

.video-container video {
    grid-area: a;
    max-width: 100%;
}

.video-container img {
    grid-area: a;
    display: none;
}

.video-container a {
    pointer-events: all;
    grid-area: a;
    color: #000;
    text-align: center;
    font-family: "Redaction 10";
    font-size: 3.75rem;
    font-style: normal;
    font-weight: 700;
    line-height: 4rem;
    /* 123.333% */
    width: fit-content;
}

.logo-row {
    border: 1px solid black;
    padding: 2rem;
}

.partners-heading {
    color: #000;
    font-family: Archivo !important;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5625rem;
    /* 125% */
    text-transform: uppercase;
}

.main-speaker-job-title {
    color: #000;
    font-family: Archivo;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.main-speaker-name-col .col-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    align-items: center;
    justify-items: stretch;
}

.main-speaker-name-col .col-inner p {
    margin: 0;
}

.main-speaker-name-col img {
    max-width: unset !important;
}

.main-speaker-name-col.img-left img {
    margin-left: 100px;
}

.main-speaker-name-col.img-right img {
    margin-right: 100px;
}

.main-speaker-name {
    margin: 0;
    color: #000;
    font-family: "Redaction 10";
    font-size: 3.75rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    white-space: nowrap;
}

.main-speaker-title {
    color: #3171FF;
    font-family: Archivo;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5625rem;
    /* 104.167% */
    text-transform: uppercase;
}

.stuck .header-main .nav>li>a {
    line-height: 1 !important;
}

.dagskra-row p {
    margin: 0;
}

.dagskra-row {
    border-bottom: 1px solid black;
}

.dagskra-row .col-inner {
    padding: 2rem 0;
}

.dagskra-time-col .col-inner {
    padding: 0;
}

.dagskra-time {
    color: #000;
    font-family: Archivo;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.dagskra-title {
    color: #000;
    font-family: Archivo;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.dagskra-info {
    color: #000;
    font-family: Archivo;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.dagskra-date {
    color: #000;
    font-family: Archivo;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

@media screen and (max-width: 800px) {

    .hero-text p {
        color: #000;
        font-family: Archivo;
		font-size: 1.5rem;
		margin: 0;
        font-style: normal;
        font-weight: 500;
        line-height: 1;
        text-transform: uppercase;
    }

    .video-container img {
        display: block;
    }

    .video-container video {
        display: none;
    }

    h1 {
        font-size: 3rem;
		margin-bottom: .5em;
    }

    :root {
        --slide-count: 2;
        --slide-width: 400px;
		--slide-animation-time: 15s;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;

    }



    p.info-big {
        font-size: 3rem;
		margin-bottom: 0;
		margin-top: .5em;

    }

    p.dagskra-title {
        color: #000;
        font-family: Archivo;
        font-size: 0.75rem;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    p.dagskra-time {
        color: #000;
        font-family: Archivo;
        font-size: 0.85475rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    p.dagskra-info {
        color: #000;
        font-family: Archivo;
        font-size: 0.75rem;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .main-speaker-name-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 'a b' 'c d';        
		align-items: center;
        grid-template-rows: .5fr 1fr;
        margin-bottom: 30px;
    }

    .main-speaker-name-col .main-speaker-name {
        color: #000;
        font-family: "Redaction 10";
        font-size: 2rem;
        font-style: normal;
        font-weight: 700;
        line-height: 1.68125rem;
        /* 122.273% */
        grid-area: a;
    }

    .main-speaker-title {
        color: #3171FF;
        font-family: Archivo;
        font-size: 1rem;
        font-style: normal;
        font-weight: 600;
        line-height: 0.49519rem;
        /* 66.021% */
        text-transform: uppercase;
        grid-area: c;
        margin-bottom: 0;
		line-height: 1.5rem;
    }

    .main-speaker-name-col img {
        grid-area: b;
        margin: 0;
		max-width: 50%;
    justify-self: end;
    }
	.hero-text {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 1rem;
	}
	.speaker-slider {
		overflow: visible;
	}
	.speaker-page-title {
		display: flex;
		align-items: center;
		margin-bottom: .5em;
		
	}
	.speaker-page-title .main-speaker-name {
		font-size: 1.375rem;
		text-transform: unset;
		text-align: left;
	}
	
}

.vistkerfi {
    animation: vistkerfi 10s linear infinite;
}

@keyframes vistkerfi {
    0% {
        color: #3171FF;
    }

    25% {
        color: #ED7F7F;
    }

    50% {
        color: #FCE598;

    }

    75% {
        color: #5BDAEF;
    }

    100% {

        color: #3171FF;
    }
}

.mfp-bg {
    background-image: url(http://krossmidlun.is/wp-content/uploads/2025/06/bakgrunnurminni.png) !important;
    background-color: rgba(255, 255, 255, 0.9);
    background-blend-mode: lighten;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.speaker-link {
    color: #3171FF;
    font-family: Archivo;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 0.49519rem;
    /* 79.225% */
    text-transform: uppercase;
}
.header-nav, .speaker-slider-button {
	display: none !important;
}