


section#s_header {
    position: relative;
    width: 100%;
    z-index: 2;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-bottom: 2rem;
}
body.single section#s_header{
    display:block;
}
section#s_header.bg-dark{
    background:var(--text);
}
section#s_header.has-bg-img{
    background:var(--text);
    background-size: cover;
    background-size: 1600px;

}
.section-cta .section-h{
    font-size:8.4vw;
    text-transform:none;
}
section#s_header .theme-h {
    display: inline-block;
    font-weight: 300;
    line-height: 1;
    hyphens: auto;
    /* white-space: break-spaces; */
    font-size: 10.8vw;
    color: var(--white);
    text-transform:none;
    /* color: white; */
}
section#s_header .lead p{
    line-height:1;
	font-weight:400;
}

#s_header .rkp-h-logo{
    max-width:52vw;
    display:inline-block;
    position:relative;
    margin-bottom:1.4vw;
}

figure.rot-inline-icon a{
	position:relative;
    transition:background-color .4s, color .4s, border-color .4s;
    transition:font-size .4s, background-color .4s, border-color .4s;
    transition-timing-function: cubic-bezier(1,.01,.81,.23);
}
figure.rot-inline-icon a:hover{
	background-color:var(--primary-hover);
}
section.rot-section .rot-inline-icon{
    font-size: 100px;
    line-height: 0.6;
    margin-bottom: 0;
    position: relative;
    left: -0.1em;
    color:var(--primary);
}
/* section.rot-section .rot-inline-icon svg path{
    fill:var(--primary);
} */
/* section.rot-section .rot-inline-icon.small-icon svg path{
    fill:var(--white);
} */
section.rot-section .rot-inline-icon svg{
    width:1em;height:1em;
}
section.rot-section .rot-inline-icon.smaller-icon,
section.rot-section .rot-inline-icon.small-icon {

    width: auto;
    display: inline-block;
    left:0;
}
section.rot-section .rot-inline-icon.smaller-icon a,
section.rot-section .rot-inline-icon.small-icon a{
    width: auto;
    display: inline-block;
    overflow:hidden;
}
section.rot-section .rot-inline-icon.smaller-icon a{
    font-size:inherit;
}
section.rot-section .rot-inline-icon.smaller-icon a:hover,
section.rot-section .rot-inline-icon.small-icon a:hover{
    border: 2px solid var(--primary-hover);
    background-color:var(--primary-hover);
}
section.bg-dark .item-content,
section.bg-dark p,
section.bg-dark h1,
section.bg-dark h2,
section.bg-dark h3,
section.bg-dark h4{
    color:var(--secondary);
}


section#s_header .theme-h.scale-in{
    transform: scale(49.5);
    /* transform-origin: 50% 50%; */
    opacity:0;
}
section#s_header .theme-h.scale-in{
    pointer-events: none;
}
section#s_header.animation-ended .theme-h.scale-in{
    animation: scale-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal forwards;
}
section#s_header.rot-scrollable{
    position: relative;
    max-height:1400px;
}
section.top-section{

}
section#s_header #h_video{
    /* height:calc(100vh - var(--admin-bar-height)); */
    height:100%;
    left: 0%;
    width: 100%;
    top: 0;
    position:absolute;
    opacity: 1;
    /* transform:translate3d(); */
    /* transition: left .5s, opacity .5s; */
}

@media(min-width:576px){

}
@media(min-width:768px){

}
@media(min-width:992px){

}
@media(min-width:1200px){

    .h-h-wrap{
        display: flex;
        align-items: flex-end;
    }
    section#s_header.has-bg-img{
        background-size: 2000px;
    }
}
@media(min-width:1440px){
    section.rot-section .section-lead{
        max-width:81%;
    }
}
@media(min-width:1600px){

}
@media(min-width:1820px){

}
@media(min-width:1980px){
    section#s_header.has-bg-img{
        background-size: cover;
    }
}

.rkp-h-caption{
    z-index:4;
}

section#s_header .h-h-wrap,
section#s_header .header-caption-content{
    opacity:0;
    pointer-events:none;
    transition:opacity 0.5s;
    z-index: 3;

}
section#s_header.animation-ended .h-h-wrap,
section#s_header.animation-ended .header-caption-content{
    opacity:1;
    pointer-events:all;
}
body:not(.home) section#s_header.animation-ended .rkp-h-caption .theme-h,
body:not(.home) section#s_header.animation-ended .rkp-h-logo{
        opacity:0;
        animation: fade-in 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s 1 normal forwards;

}
body:not(.home) section#s_header.animation-ended .header-caption-content{
    opacity:0;
    animation: fade-in 1.5s cubic-bezier(0.64, 0, 0.78, 0) 1s 1 normal forwards;

}


@keyframes fade-right-out {
	0% {
		transform: translateX(0);
        opacity:1;
	}

	50% {
		opacity:1;
	}

	100% {
		transform: translateX(100.1%);
        opacity:0;
	}
}
@keyframes fade-right-out2 {
	0% {
        transform: translateX(0) scale(1);
        opacity:1;
	}

	/* 50% {
        opacity:.5;
	} */
    /* 60% {
        transform: translateX(0) scale(1);
    } */
    75% {
        transform: translateX(0) scale(1);
    }
	100% {
		transform: translateX(-100.1%) scale(0);
        opacity:0;
	}
}
@keyframes scale-in {
	0% {
        transform: scale(49.5);
        transform-origin: left;
        opacity:0;
	}

	50% {
		opacity:1;
	}

	100% {
		transform: scale(1);
        opacity:1;
	}
}
@keyframes fade-in {
	0% {
        opacity:0;
        pointer-events:none;
	}

	100% {
        opacity:1;
        pointer-events:all;
	}
}
@keyframes fade-in-left {
	0% {
        opacity:0;
        transform: skewX(50deg);
        left:-100vw;
        pointer-events:none;
	}
    60%{
        transform:  skewX(50deg);
        opacity:1;
    }
	100% {
        opacity:1;
        transform: skewX(0deg);
        left:calc(100% - var(--car-size) - 2rem);
        pointer-events:none;
	}
}
@keyframes fade-in-left-line {
	0% {
        opacity:0;
        height:0;
        pointer-events:none;
        left: -100vw;
	}
    60%{
        opacity:1;
        height:6px;
        left:0;
    }
	100% {
        opacity:1;
        height:6px;
        left:0;
	}
}
@keyframes fade-in-right-line {
	0% {
        opacity:0;
        height:0;
        pointer-events:none;
        right: -100vw;
	}
    60%{
        opacity:1;
        height:6px;
        right:0;
    }
	100% {
        opacity:1;
        height:6px;
        right:0;
	}
}


bady header#masthead.whitened.has-item-active:before{
    background:var(--bg-transparent-light);
}

.rkp-quicklink-item a.h3{
    position:relative;
}
.rkp-quicklink-item a.h3 .acc-trigger{
    position:absolute;
    font-size:1.2rem;
    line-height:.9;
    right:0;
    transform:translateX(2rem);
    color: var(--primary);
}
.rkp-quicklink-item .item-content{
    display:none;
}
@media(min-width:768px){
    .rkp-quicklink-item a.h3 .acc-trigger{
        display: none;
    }
    .rkp-quicklink-item .item-content{
        display:block!important;
    }
}
@media(min-width:992px){
    #masthead ul.navbar-nav{
        /* color:var(--secondary); */
        color:var(--white);
    }
    #masthead.whitened ul.navbar-nav{
        color:var(--text);
    }
}


body.scrolled #masthead{
	height:var(--headerheight-scrolled);
	min-height:var(--headerheight-scrolled);
}