/*
	Theme Name: Rifenburg Theme
	Author: FieldWrk
*/

/* WYSIWYG */

#tinymce {
	padding: 30px;
}

/* Login Screen */

.login {
	background: #020401;
}

#login {
	border: 0;
	margin: 0 auto;
	margin-top: 8%;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	background: transparent;
}

.login h1.admin-email__heading {
	font-size: 1.4em;
}

.login-action-confirm_admin_email #login {
	margin-top: 8%;
}

.login h1 a {
	background-image: url(/wp-content/themes/rifenburg/images/logo.svg);
	background-color: transparent;
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center;
	width: 100%;
	margin: 0;
	border: 0;
}

.login #login_error, .login .message, .login .success {
	background: transparent;
	color: #ffffff;
	text-align: center;
	border: unset;
	padding: 0;
	font-style: italic;
	margin: 0;
	padding: 2em;
	padding-bottom: 0;
	font-size: 0.7em;
}

.login form {
	background: transparent;
	box-shadow: unset;
	border: unset;
	margin-top: -1px;
	padding-bottom: 2em;
	padding-top: 2em;
}

.login label {
	color: #AEAEAE;
}

.login form .input, .login input[type=password], .login input[type=text] {
	font-size: 1em !important;
	padding: 0.5em 1em !important;
	-webkit-appearance: none;
	font-weight: 200;
	width: 100%;
	border: unset;
	box-shadow: unset;
	border-radius: 4px;
	margin-bottom: 1em;
	color: #ffffff;
	background: #191919;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s !important;
}

.login .user-pass-wrap {
	margin-bottom: 1em;
}

#login form p.submit {
	text-align: center;
	margin-top: 1em;
}

.login .button.wp-hide-pw .dashicons {
	color: #ffffff;
}

.wp-core-ui .button.button-large.button-primary, .wp-core-ui .button.button-large {
	padding: 1em 2em;
	font-size: 1em;
	transition: 0.5s all;
	border-radius: 4px;
	display: block;
	cursor: pointer;
	line-height: 1;
	letter-spacing: 0.1em;
	background: #E6DC0C;
	color: #000000;
	border: 1px solid #E6DC0C;
	font-weight: 500;
	letter-spacing: -0.32px;
}

.wp-core-ui .button.button-large.button-primary:hover {
	background: #CCC30B;
	color: #000000;
	border: 1px solid #CCC30B;
}

.wp-core-ui .button.button-large {
    background: transparent;
    color: #ffffff;
}

.login #backtoblog a, .login #nav a {
	color: #ffffff;
}

.login #backtoblog a:hover, .login #nav a:hover, .login h1 a:hover {
	color: #ffffff;
}

.login form .forgetmenot {
	float: none;
}

.login #nav, .login #backtoblog {
	background: transparent;
	margin-top: -1px;
}

.login #backtoblog {
	padding-top: 1em;
	padding-bottom: 1em;
	margin-bottom: 0;
	border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.login .privacy-policy-page-link {
	display: none;
}

/* Font References */

@font-face {
  	font-family: 'Albert Sans';
  	src: url(library/fonts/AlbertSans-Regular.ttf);
}

@font-face {
  	font-family: 'Albert Sans';
  	font-style: italic;
  	src: url(library/fonts/AlbertSans-Italic.ttf);
}

@font-face {
  	font-family: 'Albert Sans';
  	font-weight: 500;
  	src: url(library/fonts/AlbertSans-Medium.ttf);
}

@font-face {
  	font-family: 'Albert Sans';
  	font-weight: 500;
  	font-style: italic;
  	src: url(library/fonts/AlbertSans-Medium.ttf);
}

@font-face {
  	font-family: 'Albert Sans';
  	font-weight: 600;
  	src: url(library/fonts/AlbertSans-SemiBold.ttf);
}


@font-face {
  	font-family: 'Albert Sans';
  	font-weight: 600;
  	font-style: italic;
  	src: url(library/fonts/AlbertSans-SemiBoldItalic.ttf);
}

@font-face {
  	font-family: 'Albert Sans';
  	font-weight: 700;
  	src: url(library/fonts/AlbertSans-Bold.ttf);
}

@font-face {
  	font-family: 'Albert Sans';
  	font-weight: 700;
  	font-style: italic;
  	src: url(library/fonts/AlbertSans-BoldItalic.ttf);
}

@font-face {
  	font-family: 'Albert Sans';
  	font-weight: 800;
  	src: url(library/fonts/AlbertSans-ExtraBold.ttf);
}

@font-face {
  	font-family: 'Albert Sans';
  	font-weight: 800;
  	font-style: italic;
  	src: url(library/fonts/AlbertSans-ExtraBoldItalic.ttf);
}

@font-face {
  	font-family: 'Albert Sans';
  	font-weight: 900;
  	src: url(library/fonts/AlbertSans-Black.ttf);
}


/* Global */

* {
    box-sizing: border-box;
}

html {
	font-size: 18px;
	margin: 0;
	padding: 0;
}

html.fixed {
	height: 100%;
	overflow: hidden;
}

body {
	font-size: 1em;
	margin: 0;
	padding: 0;
	font-family: 'Albert sans', sans-serif;
	color: #AEAEAE;
	position: relative;
	background: #020401;
	overscroll-behavior-y: none;
}

.container-fluid {
	position: relative;
	z-index: 2;
}

.container.wider {
	border-radius: 12px;
}

.row {
	padding-top: 4.44em;
	padding-bottom: 4.44em;
}

.py-small {
	padding-top: 3.11em;
	padding-bottom: 3.11em;
}

.pt-small {
	padding-top: 3.11em;
}

.pb-small {
	padding-bottom: 3.11em;
}

.row .row {
	padding-top: 0;
	padding-bottom: 0;
}

/* Typography */

h1, .h1 {
	font-family: 'Albert Sans', sans-serif;
	font-weight: 800;
	font-size: 4em;
	color: #ffffff;
	line-height: 1;
	margin-bottom: 0.25em;
}

.page-template-home h1 {
	font-size: 4.3em;
}

h2, .h2,
.BambooHR-ATS-Department-Header {
	font-family: 'Albert Sans', sans-serif;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 0.7em;
	letter-spacing: 1.44px;
	color: #ffffff;
	opacity: 0.45;
}

h2.jumbo {
	font-family: 'Albert Sans', sans-serif;
	font-weight: 800;
	font-size: 3.5em;
	color: #ffffff;
	line-height: 1;
	margin-bottom: 0;
	text-transform: unset;
	opacity: 1;
	letter-spacing: unset;
}

h3, .h3 {
	font-family: 'Albert Sans', sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 2em;
	letter-spacing: -0.6px;
	color: #ffffff;
}

h3.jumbo {
	font-weight: 800;
	font-size: 2.5em;
	line-height: 1.1;
}

h4, .h4 {
	font-family: 'Albert Sans', sans-serif;
	font-weight: 600;
	font-size: 1em;
	color: #ffffff;
}

h5, .h5 {
	font-family: 'Albert Sans', sans-serif;
	font-weight: 500;
	font-size: 1.3em;
	color: #ffffff;
}

h5.jumbo, .h5.jumbo {
	font-size: 1.8em;
}

h6, .h6 {
	font-family: 'Albert Sans', sans-serif;
	font-weight: 700;
	font-size: 1.7em;
	color: #ffffff;
	margin-top: 1em;
	margin-bottom: 1em;
}

h7, .h7 {
	font-family: 'Albert Sans', sans-serif;
	font-weight: 600;
	font-size: 1em;
	color: #ffffff;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	display: block;
}

a {
	color: #ffffff;
	transition: 0.5s all;
}

a:hover {
	text-decoration: underline;
	color: #ffffff;
}

.number {
	font-weight: 900;
	color: #ffffff;
	font-size: 5em;
	line-height: 1;
	display: block;
	margin-bottom: 0.15em;
}

p:last-of-type {
	margin-bottom: 0;
}

hr {
	border-top: 1px solid #3B3B3B;
	margin-top: 2.22em;
	margin-bottom: 2.22em;
	width: 100%;
	filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

b, strong {
	font-weight: 600;
}

.large {
	font-size: 1.8em;
}

.blockquote {
	color: #ffffff;
	font-family: 'Albert Sans';
	font-weight: 500;
	font-size: 1.6em;
	line-height: 1.2;
}

.color-white {
	color: #ffffff;
}

.color-black {
	color: #000000;
}

.text-shadow {
	text-shadow: 00px 4px 4px rgba(0, 0, 0, 0.1);
}

.small {
	font-size: 0.7em;
}

.btn-primary, .btn-secondary {
	padding: 1em 2em;
	font-size: 1em;
	transition: 0.5s all;
	border-radius: 4px;
	display: inline-block;
	cursor: pointer;
	line-height: 1;
	letter-spacing: 0.1em;
	font-weight: 500;
	letter-spacing: -0.32px;
}

.btn-primary {
	background: #E6DC0C;
	color: #000000;
	border: 1px solid #E6DC0C;
}

.btn-primary:hover, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show >.btn-primary.dropdown-toggle, .btn-primary:focus {
	background: #CCC30B;
	color: #000000;
	border: 1px solid #CCC30B;
	text-decoration: none;
}

.btn-primary[data-hover-bg-color],
.btn-primary[data-hover-bg-color]:hover, .btn-primary[data-hover-bg-color].active, .btn-primary[data-hover-bg-color]:active {
	border: 0;
}

.btn-primary[data-hover-bg-color]:hover, .btn-primary[data-hover-bg-color].active, .btn-primary[data-hover-bg-color]:active {
	opacity: 0.8;
}

.btn-primary.focus, .btn-primary:focus, .btn-primary[data-hover-bg-color]:focus {
	box-shadow: 0px 0px 0px 3px rgba(230,220,12,0.5);
	outline: unset;
}

.btn-primary:disabled {
	background: #3A3A1D;
	color: #898919;
	border: 0;
	opacity: 1 !important;
	pointer-events: none;
	cursor: default;
}

.btn-secondary {
	background: transparent;
	color: #E6DC0C;
	border: 1px solid #E6DC0C;
}

.btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus {
	background: rgba(255,255,255,0.06);
	border: 1px solid #E6DC0C;
	text-decoration: none;
	color: #E6DC0C;
}

.btn-text {
	color: #ffffff;
	position: relative;
	cursor: pointer;
}

.btn-text:after {
	content: '';
	height: 1px;
	width: 100%;
	position: absolute;
	left: 0;
	bottom: -5px;
	background: #FFFF14;
}

.btn-text span {
	transition: 0.5s all;
}

.btn-text:hover span {
	opacity: 0.6;
}

.buttons {
	display: flex;
}

.text-center .buttons {
	justify-content: center;
}

.buttons a + a {
	margin-left: 1em;
}

.sliding-button {
	background: #3A3A1D;
	border-radius: 8px;
	padding: 4px;
	display: inline-flex;
	position: relative;
}

.sliding-button .button {
	width: 185px;
	text-align: center;
	padding: 1em 0em;
	font-size: 1em;
	transition: 0.5s all;
	border-radius: 4px;
	display: inline-block;
	cursor: pointer;
	line-height: 1;
	letter-spacing: 0.1em;
	font-weight: 500;
	letter-spacing: -0.32px;
	position: relative;
	color: #898919;
}

.sliding-button .button.active {
	color: #000000;
}

.sliding-button:before {
	content: '';
	height: calc(100% - 8px);
	width: 185px;
	border-radius: 4px;
	background: #FFFF14;
	position: absolute;
	left: 4px;
	top: 4px;
	z-index: 1;
	transition: 0.5s all;
}

.sliding-button.right:before {
	transform: translateX(100%);
}

.sliding-button .button {
	position: relative;
	z-index: 2;
}

/* Helpers */

.vertical-separator {
	height: 100%;
	width: 1px;
	background: #3B3B3B;
	filter: drop-shadow(0px 3.552px 3.552px rgba(0, 0, 0, 0.25));
	margin: 0 auto;
}

.separator-05 {
	height: 0.5em;
	display: block;
	clear: both;
	width: 100%;
}

.separator-1 {
	height: 1em;
	display: block;
	clear: both;
	width: 100%;
}

.separator-2 {
	height: 2em;
	display: block;
	clear: both;
	width: 100%;
}

.separator-3 {
	height: 3em;
	display: block;
	clear: both;
	width: 100%;
}

.separator-4 {
	height: 4em;
	display: block;
	clear: both;
	width: 100%;
}

.separator-6 {
	height: 6em;
	display: block;
	clear: both;
	width: 100%;
}

.bg-yellow {
	background-color: #E6DC0C;
}

.bg-white {
	background-color: #ffffff;
}

.bg-black {
	background-color: #000000;
}

.bg-gray-0 {
	background-color: #020401;
}

.bg-gray-1 {
	background-color: #191919;
}

.bg-gray-2 {
	background-color: #242424;
}

.bg-image {
	background-size: cover;
	background-position: center;
	width: 100%;
	overflow: hidden;
	position: relative;
	height: 500px;
}

.bg-image.h-auto {
	height: auto;
	overflow: visible;
}

.bg-image.h-auto .row {
	position: relative;
}

.bg-image.h-full, .h-full {
	height: 100vh;
}

.bg-image.parallax {
	background-attachment: fixed;
}

.bg-image .container, .h-full .container {
	position: relative;
	z-index: 2;
	height: 100%;
}

.bg-image .row, .h-full .row {
	height: 100%;
}

.bg-image .bg-image {
	height: 100%;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

.bg-video {
	background-size: cover;
	background-position: center;
	overflow: hidden;
	height: 70vh;
}

.bg-video .bg-image {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	transition: 0.5s all 0.5s;
}

.bg-video .bg-image.in,
.bg-image .bg-image.in {
	opacity: 1;
}

.bg-video .container {
	z-index: 4;
	position: relative;
}

.bg-video .container, .bg-video .row {
	height: 100%;
}

.bg-video .video {
    height: 100%;
    z-index: 1;
    overflow: hidden;
    position: absolute;
    opacity: 0;
    transition: 0.3s all;
}

.bg-video .video.in {
	opacity: 1;
}

.bg-video .video video {
    width: 100vw;
	height: 100vh;
 	object-fit: cover;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
}

.bg-video .overlay {
	z-index: 2;
}

.bg-video {
	z-index: 1;
}

.bg-video + .row {
	position: relative;
	z-index: 2;
}

.overlay {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.6);
	pointer-events: none;
}

.page-template-home #header .overlay {
	background: linear-gradient(to bottom, transparent, #020401);
	height: 100vh;
}

/* HTML Video */

.video {
	position: relative;
	overflow: hidden;
	height: 70vh;
	border-radius: 12px;
	display: flex;
    align-items: center;
    justify-content: center;
}

.video .bg-image {
	transition: all 1s cubic-bezier(0.71, 0, 0.26, 0.99);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video:hover .bg-image {
	transform: scale(1.1);
}

.video .icon {
	height: 48px;
	width: 48px;
	background: #FFFF14;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
}

.video .icon img {
	height: 10px;
	width: 12px;
}

/* YouTube Embeds */

.video-container { 
	position: relative; 
	padding-bottom: 56.25%; 
	padding-top: 30px; 
	height: 0;
	overflow: hidden; 
}

.video-container iframe, .video-container object, .video-container embed { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
}

/* Images */

img {
	max-width: 100%;
}

#companies .logo {
	height: 45px;
}

svg[data-bg-color] path {
	fill: var(--bg-color);
}

.icon {
	height: 24px;
	width: 24px;
	margin-right: 1em;
}

/* Header */

header.container-fluid {
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	margin-top: 0;
	margin-bottom: 0;
	height: 80px;
	background: #0D0D0D;
	transition: 0.5s background;
	border-bottom: 1px solid #3B3B3B;
}

.logged-in header.container-fluid {
	top: 32px;
}

.page-template-home header.container-fluid {
	background: transparent;
	border-bottom: 1px solid transparent;
}

.page-template-home header.container-fluid.solid,
.page-template-home header.container-fluid.open {
	background: #0D0D0D;
	border-bottom: 1px solid #3B3B3B;
}

header .container {
	height: 100%;
}

header .row {
	padding-top: 0;
	padding-bottom: 0;
	height: 100%;
}

#logo {
	position: relative;
	z-index: 3;
	transition: 0s all;
	height: 50%;
}

#logo a {
	display: block;
	height: 100%;
}

#logo img {
	width: auto;
	height: 100%;
}

#back-to-main-menu {
	position: absolute;
	left: 15px;
	opacity: 0;
	transition: 0.5s all;
	pointer-events: none;
}

#logo #back-to-main-menu img {
	transform: rotate(180deg);
	width: 12px;
	height: 22px;
}

/* Header Navigation */

.menu-primary-navigation-container {
	position: fixed;
	z-index: 998;
	height: calc(100vh - 80px);
    top: 80px;
	width: 100vw;
	background: #191919;
	left: 0;
	pointer-events: none;
	opacity: 0;
	transition: 0.5s opacity;
	display: flex;
	align-items: center;
}

.logged-in .menu-primary-navigation-container {
	top: calc(32px + 80px);
}

.menu-primary-navigation-container.visible {
	opacity: 1;
	pointer-events: auto;
}

#menu-primary-navigation {
	margin: 0;
	padding-left: 15px;
	padding-right: 15px;
	position: relative;
	width: 100%;
	height: 100%;
	margin-right: auto;
	margin-left: auto;
	display: flex;
	flex-direction: column;
	padding-top: 4em;
}

#menu-primary-navigation li {
	margin: 0;
	width: 40%;
	list-style-type: none;
	position: unset;
}

#menu-primary-navigation a {
	color: #ffffff;
	font-family: 'Albert Sans';
	font-weight: 600;
	text-transform: uppercase;
	font-size: 2em;
	line-height: 1;
	letter-spacing: -0.6px;
	text-decoration: none;
	z-index: 2;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 32px;
}

#menu-primary-navigation a:hover {
	background: #242424;
}

#menu-primary-navigation li.open > a {
	color: #000000;
	background: #E6DC0C;
}

#menu-primary-navigation > .menu-item-has-children > a:after {
	content: '';
	background-size: cover;
	background-image: url(/wp-content/themes/rifenburg/images/icon-caret-white.svg);
	height: 22px;
	width: 12px;
	display: inline-block;
	position: relative;
}

#menu-primary-navigation > .menu-item-has-children.open > a:after {
	filter: brightness(0) contrast(100%);
}

#menu-primary-navigation > li > .sub-menu {
	position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s opacity;
    z-index: 1;
    width: 60%;
    left: 40%;
    background: #020401;
    margin: 0;
    top: 0;
    height: 100%;
    padding: 4em 8em;
    display: flex;
    flex-direction: column;
    overflow: auto;
    padding-bottom: 8em;
}

#menu-primary-navigation li.open .sub-menu,
#menu-secondary-navigation li:hover .sub-menu {
	opacity: 1;
	pointer-events: auto;
}

#menu-secondary-navigation > li > .sub-menu {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	transition: 0.5s opacity;
	z-index: 1;
	width: auto;
	left: 0;
	background: #1A1A1A;
	overflow: hidden;
    margin: 0;
    top: 45px;
}

#menu-primary-navigation .sub-menu li {
	display: block;
    border: none;
	white-space: nowrap;
	line-height: 1;
	width: auto;
	opacity: 0;
	transition: 0s all;
	position: relative;
	top: 2em;
}

#menu-primary-navigation .open .sub-menu li {
	opacity: 1;
	top: 0;
	transition: 0.5s all;
}

#menu-primary-navigation li .sub-menu li a {
	background: transparent;
	padding-left: 0;
	padding-right: 0;
	padding-top: 24px;
	padding-bottom: 24px;
	text-transform: unset;
	font-weight: 500;
	font-size: 1.5em;
    width: 100%;
    display: block;
    position: relative;
}

#menu-primary-navigation li .sub-menu li a:after {
	content: '';
	height: 1px;
	width: 288px;
	background: #3B3B3B;
	position: absolute;
	bottom: 0;
	left: 0;
}

#menu-primary-navigation li .sub-menu li:first-child a {
	padding-top: 0;
}

#menu-primary-navigation li .sub-menu li:not(.current-menu-item) a:hover {
    padding-left: 24px;
    opacity: 1 !important;
}

#nav-icon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	cursor: pointer;
}

.nav-label {
	color: #ffffff;
	font-weight: 500;
	position: absolute;
	right: calc(24px + 0.5em);
}

.nav-label.close-it {
	opacity: 0;
}

#nav-icon.close-it .nav-label {
	opacity: 0;
}

#nav-icon.close-it .nav-label.close-it {
	opacity: 1;
}

.nav-icon {
  	width: 24px;
}

.nav-icon:after, 
.nav-icon:before, 
.nav-icon div {
  	background-color: #ffffff;
  	content: '';
  	display: block;
  	height: 2px;
  	margin: 4px 0;
  	border-radius: 4px;
  	transition: all .2s ease-in-out;
}

.nav-icon:before {
	width: 100%;
}

.nav-icon div {
	width: 100%;
}

.nav-icon:after {
	width: 100%;
}

#nav-icon.close-it .nav-icon:before {
  	transform: translateY(6px) rotate(135deg);
  	width: 100%;
}

#nav-icon.close-it .nav-icon:after {
  	transform: translateY(-6px) rotate(-135deg);
}

#nav-icon.close-it .nav-icon div {
  	transform: scale(0);
}

.close:not(:disabled):not(.disabled):focus, .close:not(:disabled):not(.disabled):hover, .nav-icon.close {
	opacity: 1;
}

/* BambooHR */

.BambooHR-ATS-board {
	font-family: 'Albert sans', sans-serif !important;
}

.BambooHR-ATS-board h2 {
	display: none;
}

.BambooHR-ATS-Department-Header {
	margin-bottom: 1em;
}

.BambooHR-ATS-board ul {
	font-size: 1em !important;
	margin-left: 0;
	padding: 0 !important;
	border-bottom: 0 !important;
	margin-bottom: 4em !important;
}

.BambooHR-ATS-board .BambooHR-ATS-Jobs-Item {
	color: #AEAEAE !important;
	margin-top: 1em !important;
	margin-bottom: 1em !important;
	padding-bottom: 1em !important;
	border-bottom: 1px solid #3B3B3B;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.BambooHR-ATS-board a {
	font-weight: normal !important;
	font-size: 1em !important;
	line-height: 1.5 !important;
}

.BambooHR-ATS-Location {
	padding-top: 0 !important;
}

#BambooHR-ATS + div {
	display: none !important;
}

/* Special Layouts */

#header {
	margin-top: 80px;
}

.page-template-home #header {
	height: 100vh;
	margin-top: 0;
}

#header.h-auto {
	height: auto;
}

#header .image {
	position: absolute;
	right: 0px;
	top: 0;
	height: 100%;
	clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 50% 0%);
	transition: 2s clip-path;
}

#header .image.in {
	clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 0% 0%);
}

#header .image img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.page-template-history #header {
	z-index: 3;
}

.page-template-history #section-3 .header {
	/* position: sticky;
	top: 80px; */
	position: relative;
	z-index: 4;
	background: #020401;
}

.page-template-history #section-3 .timeline {
	z-index: 3;
	position: relative;
}

.page-template-home #section-0 .row {
	padding-top: 0;
}

.logos-carousel,
.text-carousel,
.projects,
#leadership {
	padding: 0;
	overflow: hidden;
}

.text-carousel .container,
.logos-carousel .container {
	position: relative;
	border-radius: 0;
}

.text-carousel.bg-yellow {
	background-image: url(/wp-content/themes/rifenburg/images/bg-diamond-yellow.svg);
	background-position: center left;
	background-size: contain;
	background-repeat: no-repeat;
}

.text-carousel[data-bg-color] {
	background: var(--bg-color);
}

.text-carousel[data-bg-color] svg {
    filter: brightness(0.8);
    position: absolute;
    height: 100%;
}

.stat {
	color: #ffffff;
}

.projects:before {
	content: '';
	height: 100%;
	width: calc((100vw - 1140px) / 2 + 15px);
	position: absolute;
	left: 0px;
	top: 0;
	z-index: 3;
	display: none;
}

.projects:after {
	content: '';
	height: 100%;
	width: calc((100vw - 1140px) / 2);
	position: absolute;
	right: 0px;
	top: 0;
	z-index: 3;
}

.projects.bg-gray-1:before {
	background: #191919;
}

.projects.bg-gray-1:after {
	background: linear-gradient(to right, rgba(31, 31, 31, 0.00) 0%, #191919 30%);
}

.projects.bg-gray-2:before {
	background: #242424;
}

.projects.bg-gray-2:after {
	background: linear-gradient(to right, rgba(36, 36, 36, 0.00) 0%, #242424 30%);
}

.projects .container {
	z-index: 1;
	position: relative;
}

#leadership .container {
	z-index: 1;
	position: relative;
}

#leadership .slider {
	transition: 0.5s opacity;
}

#leadership .inactive {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

#breadcrumbs {
	display: flex;
	align-items: center;
	margin-top: 10em;
}

.separator-2 + #breadcrumbs {
	margin-top: 0;
}

.company-logo {
	margin-top: 10em;
}

#breadcrumbs.no-image {
	margin-top: 0;
}

#breadcrumbs .h2 {
	margin: 0;
	color: #AEAEAE;
	opacity: 1;
}

#breadcrumbs img {
	height: 10px;
	width: 5px;
	display: block;
	margin: 0 0.5em;
}

.single-project #breadcrumbs {
	margin-top: 0;
	margin-bottom: 0.5em;
}

.single-project #breadcrumbs a {
	display: flex;
	align-items: center;
}

.single-project #breadcrumbs img {
	transform: rotate(180deg);
	margin-right: 0.5em;
}

#purpose-mission-vision {
	height: 350px;
	border-top: 1px solid #3B3B3B;
	border-bottom: 1px solid #3B3B3B;
	padding: 0;
}

#purpose-mission-vision .container,
#purpose-mission-vision .row {
	height: 100%;
}

#purpose-mission-vision .container {
    padding: 0;
    max-width: 100%;
}

#purpose-mission-vision .row {
	margin: 0;
}

#purpose-mission-vision img {
	height: 48px;
	width: 48px;
	margin-bottom: 1.5em;
}

#purpose-mission-vision .section {
	border-left: 1px solid #3B3B3B;
	padding: 3em 25px;
	flex: 100%;
	transition: 0.5s all;
	height: 100%;
}

#purpose-mission-vision .section.open {
	background: #242424;
}

#purpose-mission-vision .section:first-of-type {
	border-left: 0;
	padding-left: calc(((100vw - 1140px) / 2) + 15px);
	max-width: 35.5%;
}

#purpose-mission-vision .section:first-of-type.open {
	flex: 0 0 46%;
	max-width: 46%;
}

#purpose-mission-vision .section:nth-of-type(2) {
	flex: 0 0 17%;
	max-width: 17%;
}

#purpose-mission-vision .section:nth-of-type(2).open {
	flex: 0 0 27.5%;
	max-width: 27.5%;
}

#purpose-mission-vision .section:last-of-type {
	padding-right: calc(((100vw - 1140px) / 2) + 15px);
	max-width: 37%;
}

#purpose-mission-vision .section:last-of-type.open {
	flex: 0 0 47.5%;
	max-width: 47.5%;
}

#purpose-mission-vision .copy {
	opacity: 0;
	pointer-events: none;
	max-height: 0;
	transition: 0s opacity 0s, 0s max-height 0s;
}

#purpose-mission-vision .section.open .copy {
	opacity: 1;
	pointer-events: auto;
	max-height: 100%;
	transition: 0.5s opacity 0.5s, 0s max-height 0.5s;
}

.photo-album {
	padding-top: 4.44em;
	padding-bottom: 4.44em;
}

.photo-album .content {
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding-left: 4em;
	padding-right: 4em;
}

.page-template-history #section-1 .container {
	background-repeat: no-repeat;
	background-size: 40%;
}

.page-template-history .container-fluid:not(#section-3):not(header) {
    z-index: 3;
}

/* #timeline-wrapper:before {
	content: '';
	width: 100%;
	height: 50px;
	background: linear-gradient(to bottom, #191919, transparent);
	position: relative;
	display: block;
	z-index: 4;
} */

#timeline-wrapper:before {
	content: '';
	height: 11px;
	width: 11px;
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	background-image: url(/wp-content/themes/rifenburg/images/icon-diamond-yellow.svg);
	background-size: cover;
	z-index: 3;
	top: 0px;
}

#timeline-wrapper {
	flex-direction: column;
	display: flex;
	position: relative;
}

#progress-bar {
	position: absolute;
	height: 100%;
	z-index: 3;
	 background-color: rgba(230,220,12,0.3);
	width: 1px;
	align-self: center;
}

#progress-bar #bar {
    z-index: -1;
    width: 1px;
    height: 51vh;
    background-color: #E6DC0C;
    position: fixed;
    top: 0;
    bottom: 50vh;
    opacity: 0;
    transition: 0s all 1s;
}

#progress-bar.in #bar {
	opacity: 1;
}

#timeline-wrapper .row .row {
	padding-top: 4em;
	padding-bottom: 4em;
}

#timeline-wrapper .circle-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
}

#timeline-wrapper .circle {
	background-image: url(/wp-content/themes/rifenburg/images/icon-diamond-yellow.svg);
	height: 11px;
	width: 11px;
	background-size: cover;
	margin: 0 auto;
	left: 0.5px;
	z-index: 3;
	position: relative;
}

#timeline-wrapper .circle:before {
	content: '';
	height: 52px;
	width: 52px;
	transition: 0.5s all;
	position: absolute;
	background-image: url(/wp-content/themes/rifenburg/images/icon-diamond-active.svg);
	left: -20px;
	top: -20px;
	background-size: cover;
	transform: scale(0);
}

#timeline-wrapper .circle.active:before {
	transform: scale(1);
}

.timeline .row {
	margin-top: 6em;
	margin-bottom: 3em;
}

.single-project #content {
	line-height: 1.6;
}

.page-template-contact #image {
	position: absolute;
	right: 0;
	height: 100%;
	width: 100%;
}

.page-template-contact #image img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

/* Cards */

.card {
	justify-content: center;
	border: 0;
	overflow: hidden;
	border-radius: 0;
	background: transparent;
}

a.card {
	color: inherit;
	text-decoration: none;
}

.four-column-cards .card-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.four-column-cards .card {
	background: #191919;
	border-radius: 4px;
	overflow: hidden;
	position: relative;
}

.four-column-cards a.card:hover {
	background: #242424;
}

.four-column-cards .card-header {
	padding: 0;
	border-radius: 0;
	border: 0;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10em;
}

.four-column-cards .card-header.no-icon {
	justify-content: flex-end;
}

.four-column-cards .icon,
.four-column-cards .btn-icon {
	height: 48px;
	width: 48px;
	border: 1px solid #3B3B3B;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.four-column-cards .icon {
	background: #242424;
}

.four-column-cards .btn-icon {
	background: #FFFF14;
	border: 1px solid #FFFF14;
	opacity: 0;
	transition: 0.5s all;
}

.four-column-cards a.card:hover .btn-icon {
	opacity: 1;
}

.four-column-cards .icon img {
	height: 24px;
	width: 24px;
}

.four-column-cards .btn-icon img {
	height: 15px;
	width: 15px;
}

.four-column-cards h4 {
	font-weight: 500;
}

.four-column-cards .card-content {
	transform: translateY(calc(100% - 1.25em));
	transition: all 0.5s;
	position: absolute;
    width: calc(100% - 2.5em);
    bottom: 1.25em;
    left: 1.25em;
}

.four-column-cards .card.hover .card-content {
	transform: translateY(calc(100% - 1rem));
}

.four-column-cards .card.hover:hover .card-content,
.four-column-cards .card .card-content {
    transform: none;
}

.four-column-cards .card .card-copy {
	margin-top: 0.5em;
    font-size: 0.9em;
}

.four-column-cards .card.hover .card-copy {
	opacity: 0;
    transition: all 0.5s;
}

.four-column-cards .card.hover:hover .card-copy,
.four-column-cards .card .card-copy {
    opacity: 1;
}
  
.three-column-cards .card {
	border: 1px solid rgba(255,255,20,0.2);
	border-radius: 4px;
	transition: all 1s;
	overflow: visible;
	height: 100%;
}
  
.three-column-cards .line {
    background: #FFFF14;
    position: absolute;
    transition: none;
    transform: scale(0);
    opacity: 1;
}
  
.three-column-cards .line:nth-child(1) {
    transform-origin: 100% 100%;
    height: 1px;
    width: 20%;
    bottom: 0;
}
 
.three-column-cards .line:nth-child(4) {
    transform-origin: 0 100%;
    height: 1px;
    width: 20%;
    top: -1px;
    right: 0;
}
 
.three-column-cards .line:nth-child(2) {
    transform-origin: 100% 100%;
    height: 100%;
    width: 1px;
    bottom: 0;
    left: -1px;
}
  
.three-column-cards  .line:nth-child(5) {
    transform-origin: 100% 0;
    height: 100%;
    width: 1px;
    bottom: 0;
    right: -1px;
} 
 
.three-column-cards .line:nth-child(3) {
    transform-origin: 0 100%;
    height: 1px;
    width: 100%;
    top: -1px;
    left: -1px;
}
 
.three-column-cards .line:nth-child(6) {
    transform-origin: 100% 0;
    height: 1px;
    width: 100%;
    bottom: 0;
    right: -1px;
}
  
.three-column-cards .card:hover > .line {
    transform: scale(1);
    opacity: 0;
    transition: all 1s;
}
  
.three-column-cards .card:hover > .line:nth-child(2), .three-column-cards .card:hover > .line:nth-child(5){
    transition-delay: 0.5s;
}
  
.three-column-cards .card:hover > .line:nth-child(3), .three-column-cards .card:hover > .line:nth-child(6){
    transition-delay: 0.9s;
}

.three-column-cards .card-body {
	justify-content: space-between;
    display: flex;
    flex-direction: column;
}

.three-column-cards .card-header {
	padding: 0;
	margin-bottom: 4em;
}

.three-column-cards .icon {
	height: 48px;
	width: 48px;
}

.three-column-cards .card .card-copy {
	margin-top: 0.5em;
	font-size: 0.9em;
}

.projects-slider a:hover,
.project a:hover {
	text-decoration: none;
}

.projects-slider .card-img {
	border-radius: 8px;
	overflow: hidden;
}

.project .card-img {
	border-radius: 4px;
	overflow: hidden;
}

.projects-slider .card-img img,
.project .card-img img {
	transition: 0.5s all;
}

.projects-slider a:hover .card-img img,
.project a:hover .card-img img {
	transform: scale(1.1);
}

.projects-slider .card-body,
.project .card-body {
	padding-left: 0;
	padding-right: 0;
}

/* Slick */

button[aria-label="1 of 1"] {
	display: none !important;
}

.slide:focus {
	outline: none;
}

.infinite-carousel {
	font-size: 6em;
	color: #000000;
	letter-spacing: -2px;
	text-transform: uppercase;
	line-height: 1;
	font-weight: 800;
	width: calc(100% + 30px);
    left: -15px;
}

.infinite-carousel .slick-list {
	padding: 0 !important;
}

.infinite-carousel .slick-track {
	display: flex;
	align-items: center;
}

.infinite-carousel .slick-slide {
	width: auto !important;
	white-space: nowrap; 
	padding-left: 30px;
	padding-right: 30px;
}

.infinite-carousel img {
	height: 100px;
}

.text-carousel .infinite-carousel img {
	height: 30px;
	width: 30px;
}

.projects-slider .slick-list {
	overflow: visible;
	margin: 0 -7.5px;
}

.projects-slider .slick-track {
	margin: unset;
}

.projects-slider .slide {
	margin: 0 7.5px;
}

.gallery {
	display: flex;
	align-items: center;
}

.thumbnails {
	margin-top: 1em;
	margin-left: -10px;
	margin-right: -10px;
}

.thumbnails .slide {
	opacity: 0.3;
	transition: 0.5s all;
}

.thumbnails .slide.slick-current {
	opacity: 1;
}

.thumbnails .slide:not(.slick-current):hover {
	opacity: 0.5;
}

.thumbnails .slide {
	padding-left: 10px;
	padding-right: 10px;
	cursor: pointer;
}

.thumbnails .video-thumbnail {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
}

.thumbnails .video-thumbnail:before {
	content: '';
	height: 80px;
	width: 80px;
	border: 2px solid #ffffff;
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	background-image: url(/wp-content/themes/ess/images/icon-play-white.svg);
	background-size: 30px;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 3;
}

.thumbnails .video-thumbnail video {
	min-height: 100%;
	min-width: 100%;
	height: 105%;
	width: 130%;
	position: absolute;
	left: -40px;
	top: -15px;
}

.nav {
    justify-content: center;
}

.projects-slider + .nav {
	justify-content: flex-end;
}

.projects-slider + .nav .slick-arrow {
	margin-top: 15px;
}

.image-slider + .nav {
	justify-content: flex-end;
	position: absolute;
	bottom: 1em;
	right: 2em;
}

.slick-prev:before, .slick-next:before {
	content: '';
}

.slick-prev, .slick-next,
.slick-next:not(.slick-disabled):focus, .slick-prev:not(.slick-disabled):focus {
	width: 56px;
	height: 56px;
	background-size: 18px;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #FFFF14;
	border: 0;
	transform: unset;
	transition: 0.5s all;
	border-radius: 6px;
	position: relative;
	top: unset;
	left: unset;
	right: unset;
}

.slick-arrow.slick-disabled {
	background-color: #3A3A1D;
	border: 0;
	opacity: 1 !important;
	pointer-events: none;
	cursor: default;
	background-size: 18px;
	background-repeat: no-repeat;
	background-position: center;
}

.image-slider + .nav .slick-arrow.slick-disabled {
	background-color: #020401;
}

.slick-prev:not(.slick-disabled):hover, .slick-next:not(.slick-disabled):hover {
	background: #CCC30B;
	border: 0;
	background-size: 18px;
	background-repeat: no-repeat;
	background-position: center;
}

.slick-prev,
.slick-prev:not(.slick-disabled):focus,
.nav[data-bg-color] .slick-prev.slick-disabled {
	background-image: url(/wp-content/themes/rifenburg/images/icon-arrow-prev.svg);
	left: -5px;
}

.slick-prev:not(.slick-disabled):hover {
	background-image: url(/wp-content/themes/rifenburg/images/icon-arrow-prev.svg);
}

.slick-prev.slick-disabled {
	background-image: url(/wp-content/themes/rifenburg/images/icon-arrow-prev-disabled.svg);
}

.slick-next,
.slick-next:not(.slick-disabled):focus,
.nav[data-bg-color] .slick-next.slick-disabled{
	background-image: url(/wp-content/themes/rifenburg/images/icon-arrow-next.svg);
	right: -5px;
}

.slick-next:not(.slick-disabled):hover {
	background-image: url(/wp-content/themes/rifenburg/images/icon-arrow-next.svg);
}

.slick-next.slick-disabled {
	background-image: url(/wp-content/themes/rifenburg/images/icon-arrow-next-disabled.svg);
}

.nav[data-bg-color] .slick-arrow.slick-disabled {
	opacity: 0.3 !important;
}

.nav[data-bg-color] .slick-arrow {
	background-color: var(--bg-color);
}

.gallery .slick-arrow, .gallery .slick-arrow:focus, .gallery .slick-arrow:active, .gallery .slick-arrow:hover {
	position: absolute;
}

.gallery .slick-next, .gallery .slick-next:focus, .gallery .slick-next.click-disabled {
	right: calc(-48px + -18px);
}

.gallery .slick-prev, .gallery .slick-prev:focus, .gallery .slick-prev.click-disabled {
	left: calc(-48px + -18px);
}

.slick-dotted.slick-slider {
	margin-bottom: 0;
}

.slick-dots {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	bottom: auto;
}

.slick-dots li {
	color: unset;
    width: unset;
    height: unset;
    width: unset;
    margin-top: 0.25em;
	margin-bottom: 0.25em;
	margin-left: 0;
	margin-right: 0;
}

.slick-dots li:before {
	content: unset;
}

.slick-dots li button {
	height: 15px;
	width: 15px;
	border-radius: 50%;
	font-size: 0;
	background: rgba(255, 255, 255, 0.74);
	opacity: 1;
	transition: 0.5s all;
}

.slick-dots li button:before {
    font-size: 0;
    line-height: 0;
    content: unset;
}

.slick-dots li.slick-active button {
	background: rgba(255, 255, 255, 0.74);
	opacity: 1;
	height: 20px;
	width: 20px;
}

/* Filter */

#results {
	position: relative;
	top: -12em;
	height: 1px;
	width: 100%;
}

#top {
	min-height: 1000px;
}

.page-template-contact #no-results {
	margin-bottom: 30px;
}

#no-results .card,
#success .card,
.no-results .card,
.no-filtered-results .card {
	background: #113859;
	text-align: center;
	padding: 4em;
}

.page-template-contact #no-results .card {
	background: #0C2439;
}

#no-results img,
#success img,
.no-results img,
.no-filtered-results img {
	height: 50px;
	width: 50px;
	margin-bottom: 2em;
	margin-left: auto;
	margin-right: auto;
}

#search {
	box-shadow: 0px 158px 158px 0px rgba(0, 0, 0, 0.19), 0px 40px 87px 0px rgba(0, 0, 0, 0.24);
	position: fixed;
    z-index: 995;
    top: 108px;
    transition: 0.5s all;
    opacity: 0;
    pointer-events: none;
    border-bottom: 1.5px solid transparent;
}

#search.active {
	border-bottom: 1.5px solid #15456F;
}

#search.visible {
	opacity: 1; 
	pointer-events: auto;
}

.logged-in #search {
	top: calc(108px + 32px);
}

.page-template-news #clear-search {
	height: 50px;
	width: 50px;
	border-radius: 6px;
	background-color: #FF5033;
	background-image: url(/wp-content/themes/essc/images/icon-close.svg);
	background-size: 24px;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
	transition: 0.5s all;
}

#clear-search.hidden,
.clear-search.hidden {
	opacity: 0;
	pointer-events: none;
}

.page-template-open-positions .clear-search {
	margin-left: 1em;
}

.filter {
	width: 100%;
	position: relative;
}

.filter.search {
	background: transparent;
	position: relative;
	width: calc(100% - 50px - 1em);
}

.filter.search:before {
	content: '';
	display: inline-block;
	position: absolute;
	left: 0em;
	height: 40px;
	width: 40px;
	background-image: url(/wp-content/themes/essc/images/icon-search.svg);
	background-size: cover;
	pointer-events: none;
}

.filter.search input {
	-webkit-appearance: none;
	border: 0;
	width: 100%;
	padding: 0;
	background: transparent;
	padding-left: calc(40px + 0.5em);
	outline: none;
	color: #F0F3F7;
	font-family: "stratum-1-web", sans-serif;
	letter-spacing: -0.4px;
	font-size: 2em;
	line-height: 1;
}

.filter.search ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: rgba(240,243,247,0.45);
}

.filter.search ::-moz-placeholder { /* Firefox 19+ */
	color: rgba(240,243,247,0.45);
}

.filter.search :-ms-input-placeholder { /* IE 10+ */
	color: rgba(240,243,247,0.45);
}

.filter.search :-moz-placeholder { /* Firefox 18- */
	color: rgba(240,243,247,0.45);
}

.page-template-contact .filter.search input,
.page-template-open-positions .filter.search input {
	background: #0C2439;
	border-radius: 8px;
	padding: 12px;
	padding-left: calc(20px + 1em);
	font-size: 15px;
	line-height: 16px;
	font-family: 'Helvetica';
	letter-spacing: unset;
}

.page-template-open-positions .filter.search input {
	background: #113859;
	border-radius: 8px;
	height: 50px;
	padding-right: 16px;
}

.page-template-contact .filter.search:before,
.page-template-open-positions .filter.search:before {
	height: 20px;
	width: 20px;
	top: 9px;
	left: 12px;
	opacity: 0.5;
}

.page-template-open-positions .filter.search:before  {
	top: 14px;
}

.page-template-open-positions .filter.search input.active {
	border: 1px solid rgba(240,243,247,0.3);
}

.filter.chip {
	background: #113859;
	border: 1px solid #164975;
	display: inline-flex;
	margin-right: 5px;
	margin-bottom: 5px;
	font-size: 1.1em;
	width: auto;
	padding: 8px 16px 8px 16px;
	border-radius: 8px;
	cursor: pointer;
	transition: 0.5s all;
}

.filter.chip:hover {
	border-color: #2069A8;
}

.filter.chip.checked {
	background: #0F8DE7;
}

.filter.chip .number,
.label .number {
	font-weight: 700;
	font-size: 0.7em;
	color: rgba(240,243,247,0.65);
	position: relative;
	top: -4px;
	margin-left: 4px;
}

.filter .dropdown {
	position: absolute;
	background: #ffffff;
	width: 100%;
	display: none;
	z-index: 998;
	border: 1px solid #E4E4E4;
	border-top: 0;
}

.filter .dropdown .option {
	padding: 0.5em 1em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.filter .dropdown .option:hover {
	background: #DDDEE1;
	color: #394053;
}

.filter.checkbox {	
	cursor: pointer;
	margin-top: 1em;
	margin-bottom: 1em;
	display: flex;
	align-items: center;
	color: #ffffff;
}

.filter.checkbox span {
	pointer-events: none;
}

.filter.checkbox img {
	height: 20px;
	width: 20px;
	display: inline-block;
	margin-right: 0.5em;
}

.filter.checkbox:before {
	content: '';
	height: 24px;
	width: 24px;
	border: 1.5px solid rgba(255,255,255,0.2);
	display: inline-block;
	position: relative;
	margin-right: 0.5em;
	flex-shrink: 0;
	flex-grow: 0;
}

.filter.checkbox.checked:before {
	background-image: url(/wp-content/themes/rifenburg/images/icon-checked.svg);
	background-size: cover;
	background-position: center;
	border: 0;
}

.filter.dropdown {
	margin-right: 2em;
	cursor: pointer;
}

.filter.dropdown select {
	-webkit-appearance: none;
	background-color: #113859;
	color: #F0F3F7;
	padding: 16px;
	padding-right: 2em;
	padding-right: 0;
	border-radius: 8px;
	outline: unset;
	box-shadow: unset;
	position: relative;
	width: 100%;
	cursor: pointer;
	font-size: 1em;
	border: 0;
}

.filter.dropdown:after {
	content: '';
	background-color: #113859;
	background-image: url(/wp-content/themes/essc/images/icon-arrow-down-white.svg);
	background-position: center;
	background-size: 15px;
	background-repeat: no-repeat;
	height: 100%;
	padding-right: 2.5em;
	position: absolute;
	right: 0px;
	top: 0px;
	pointer-events: none;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
}

.filter-group .label {
	background: #191919;
	padding-left: 24px;
	padding-right: 48px;
	display: flex;
	align-items: center;
	width: 100%;
	background-image: url(/wp-content/themes/rifenburg/images/icon-dropdown-white.svg);
	background-position: 84% center;
	background-size: 15px;
	background-repeat: no-repeat;
	height: 50px;
	cursor: pointer;
	border: 1px solid transparent;
	transition: 0.5s all;
	font-size: 1em;
	font-weight: 600;
	color: #ffffff;
}

.filter-group span {
	pointer-events: none;
}

.filter-group .label:hover,
.filter-group .label.active {
	border: 1px solid rgba(240,243,247,0.3);
}

.filter-group [data-filter-group] {
	background: #191919;
	padding: 1em;
	position: absolute;
	opacity: 0;
	pointer-events: none;
	transition: 0.5s all;
	top: calc(50px + 15px);
	z-index: 996;
}

.filter-group .label.open + [data-filter-group] {
	opacity: 1;
	pointer-events: auto;
}

[data-filter-group="state"] {
	width: 225px;
}

[data-filter-group="service"] {
	width: 300px;
}

[data-filter-group="company"] {
	width: 300px;
	left: 15px;
}

[data-filter-group] .checkbox {
	margin: 0;
	padding: 12px 8px;
}

[data-filter-group] .checkbox:before {
	top: -1px;
}

[data-filter-group] .checkbox:hover {
	background: rgba(240,243,247,0.06);
}

/* Isotope */

.hidden-item {
	display: none;
}

.isotope, .isotope-filter {
	padding-left: 15px;
	padding-right: 15px;
}

.isotope .row, .isotope-filter .row {
	margin-left: -15px;
	margin-right: -15px;
}

.grid-item {
	margin-bottom: 30px;
	padding-left: 15px;
	padding-right: 15px;
}

.isotope-filter .col-md-6 {
	padding-left: 15px;
	padding-right: 15px;
}

.grid-item:last-of-type {
	margin-bottom: 0;
}

.grid-item .card-img {
	width: 100%;
}

/* Table */

table {
	width: 100%;
	font-size: 1em;
	line-height: 1;
}

thead {
	background: #F4F4F4;
}

th {
	padding: 1em;
}

th:last-of-type {
	padding-right: 4em;
}

td {
	border: 0;
	padding: 1em;
}

/* Accordion */

.accordion {
	padding: 0;
	margin: 0;
}

.accordion li {
	list-style-type: none;
	margin: 0;
	padding-top: 1em;
	border-bottom: 1px solid rgba(255,255,255,0.12);
	display: block;
	transition: 0.5s all;
}

.accordion li:before {
	display: none;
}

.accordion li.open {

}

.accordion li:first-child {
	padding-top: 0;
}

.accordion h5 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0;
	margin-top: 0;
	transition: 0.5s all;
	line-height: 1;
	padding-bottom: 0.8em;
	cursor: pointer;
}

.accordion li:not(.open) h5:hover {
	opacity: 0.8;
}

.accordion h5 span {
	width: calc(100% - 40px - 1em);
}

.accordion .answer {
	display: none;
	width: 75%;
	top: -0.5em;
	position: relative;
	margin-bottom: 0;
	padding-bottom: 1em;
}

.accordion li h5 .icon {
	background-color: #FFFF14;
	background-image: url(/wp-content/themes/rifenburg/images/icon-arrow-black.svg);
	background-size: 17px;
	background-repeat: no-repeat;
	background-position: center;
	transform: rotate(90deg);
	height: 40px;
	width: 40px;
	border-radius: 4.29px;
	margin-right: 0;
}

.accordion li.open h5 .icon {
	transform: rotate(270deg);
}

/* Lists */

ul {
	padding: 0;
	margin-left: 2.5em;
}

ul li {
	width: 100%;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	position: relative;
}

ul.one-col,
ul.two-col,
ul.three-col {
	display: flex;
	flex-wrap: wrap;
	margin-left: 0;
	margin-top: 1em;
	margin-bottom: 0;
}

ul.one-col li {
	list-style-type: none;
	display: flex;
	align-items: center;
}

ul.two-col li {
	width: 50%;
	list-style-type: none;
	display: flex;
	align-items: center;
}

ul.one-col img,
ul.two-col img,
ul.three-col img,
ul.one-col svg,
ul.two-col svg,
ul.three-col svg {
	margin-right: 0.5em;
}

ul.three-col li {
	list-style-type: none;
	width: 33%;
	display: flex;
	align-items: center;
}

/* Gravity Forms */

.gform_heading {
	display: none;
}

.gfield {
	position: relative;
}

.gform_wrapper.gravity-theme .gfield_label {
	margin-bottom: 0 !important;
	position: absolute !important;
	color: #AEAEAE !important;
	font-weight: 400 !important;
	margin: 0 !important;
	font-size: 1em !important;
	top: 1em;
	left: 1.25em;
	transition: 0.5s all;
	pointer-events: none;
}

.gform_wrapper.gravity-theme .gfield_label.selected,
.gform_wrapper.gravity-theme .gfield_label.active,
.gform_wrapper.gravity-theme .invalid .gfield_label {
	font-size: 0.8em !important;
	top: 8px;
	left: 18px;
}

.gform_wrapper.gravity-theme .valid .gfield_label:not(.selected) {
	opacity: 0;
}

.gform_wrapper.gravity-theme .gfield_required {
	position: absolute;
	font-size: 1em !important;
	padding: 0 !important;
	margin-left: 2px;
	color: #E6DC0C !important;
}

.gform_wrapper textarea, .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .gform_wrapper select {
	font-size: 1em !important;
	padding-left: 1em !important;
	padding-right: 1em !important;
	padding-top: 1.5em !important;
	padding-bottom: 0.5em !important;
	-webkit-appearance: none;
	width: 100%;
	border: 1px solid transparent;
	box-shadow: none;
	background-color: #191919;
	border-radius: 4px;
	transition: 0.5s all;
	color: #ffffff;
}

.gform_wrapper textarea.valid:not(:active):not(:focus), .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]).valid:not(:active):not(:focus), .gform_wrapper select.valid:not(:active):not(:focus) {
	padding-top: 1em !important;
	padding-bottom: 1em !important;
}

.gform_wrapper textarea:focus, .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus, .gform_wrapper select:focus {
	outline: none;
	border: 1px solid #E6DC0C;
}

.gform_wrapper select {
	background-image: url(/wp-content/themes/rifenburg/images/icon-dropdown-white.svg);
	background-size: 12px;
	background-position: 95% center;
	background-repeat: no-repeat;
}

.gform_wrapper.gravity-theme .gfield textarea {
	height: 150px !important;
	resize: unset;
  	overflow: auto;
}

.gform_validation_errors {
	display: none !important;
}

.gfield_validation_message {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	color: #FC0600 !important;
	font-size: 0.9em !important;
	font-style: italic;
}

.gfield--type-textarea .gfield_validation_message {
	margin-top: 0.25em !important;
}

.gform_wrapper.gravity-theme .gfield_error [aria-invalid=true],
.gform_wrapper.gravity-theme input.invalid {
	border: 1px solid #AE1501 !important;
}

.gform_wrapper.gravity-theme .gform_footer {
	margin: 0 !important;
	margin-top: 1em !important;
	padding: 0 !important;
}

.gform_button {
	width: 100%;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #9D9D9D;
}

::-moz-placeholder { /* Firefox 19+ */
  color: #9D9D9D;
}

:-ms-input-placeholder { /* IE 10+ */
  color: #9D9D9D;
}

:-moz-placeholder { /* Firefox 18- */
  color: #9D9D9D;
}

/* Footer */

footer {
	background: #191919;
	z-index: 2;
	position: relative;
}

footer a {
	color: #AEAEAE;
	font-size: 0.9em;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
	color: inherit;
}

footer ul {
	margin: 0;
}

footer .menu li {
	list-style-type: none;
	margin: 0;
    position: relative;
    width: auto;
}

footer .menu > li > a {
	color: #ffffff;
	display: block;
	margin-bottom: 0.75em;
}

footer .menu .sub-menu li a {
	display: block;
	margin-bottom: 0.5em;
}

.fieldwrk img {
	transition: 0.5s all;
	width: 85px;
	filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2%) hue-rotate(284deg) brightness(105%) contrast(101%);
}

.fieldwrk:hover img {
	opacity: 0.8;
}

#menu-footer-secondary-navigation {
	display: flex;
}

#menu-footer-secondary-navigation a {
	display: block;
	margin-left: 1.5em;
}

footer .logo {
	background: #242424;
	border: 1px solid #3B3B3B;
	border-radius: 4px;
	padding: 12px;
	width: calc(50% - 7.5px);
	display: block;
	transition: 0.5s all;
}

footer .logo:nth-of-type(odd) {
	margin-right: 7.5px;
}

footer .logo:nth-of-type(even) {
	margin-left: 7.5px;
}

footer .logo img {
	height: 38px;
}

footer .social {
	background: #242424;
	border: 1px solid #3B3B3B;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 0.5em;
	height: 48px;
	width: 48px;
	transition: 0.5s all;
}

footer .social img {
	height: 17px;
	width: 17px;
}

footer .logo:hover,
footer .social:hover {
	border-color: #AEAEAE;
}

/* Animations */

.fade-in {
	opacity: 0;
	top: 100px;
	transition: 0.6s opacity ease-in-out 0.2s, 0.6s top ease-in-out 0.2s;
	position: relative;
}

.fade-in.in {
	opacity: 1; 
	top: 0;
}

.fade-in.count-1 {
	transition: 0.6s opacity ease-in-out 0.4s, 0.6s top ease-in-out 0.4s;
}

.fade-in.count-2 {
	transition: 0.6s opacity ease-in-out 0.6s, 0.6s top ease-in-out 0.6s;
}

.fade-in.count-3 {
	transition: 0.6s opacity ease-in-out 0.8s, 0.6s top ease-in-out 0.8s;
}

.fade-in.count-4 {
	transition: 0.6s opacity ease-in-out 1s, 0.6s top ease-in-out 1s;
}

.fade-in.count-5 {
	transition: 0.6s opacity ease-in-out 1.2s, 0.6s top ease-in-out 1.2s;
}

.fade-in.count-6 {
	transition: 0.6s opacity ease-in-out 1.4s, 0.6s top ease-in-out 1.4s;
}

.fade-in.count-7 {
	transition: 0.6s opacity ease-in-out 1.6s, 0.6s top ease-in-out 1.6s;
}

.fade-in.count-8 {
	transition: 0.6s opacity ease-in-out 1.8s, 0.6s top ease-in-out 1.8s;
}

.fade-in.count-9 {
	transition: 0.6s opacity ease-in-out 2s, 0.6s top ease-in-out 2s;
}

.fade-in.count-10 {
	transition: 0.6s opacity ease-in-out 2.2s, 0.6s top ease-in-out 2.2s;
}

.fade-in.count-11 {
	transition: 0.6s opacity ease-in-out 2.4s, 0.6s top ease-in-out 2.4s;
}

.fade-in.count-12 {
	transition: 0.6s opacity ease-in-out 2.6s, 0.6s top ease-in-out 2.6s;
}

.fade-in.count-13 {
	transition: 0.6s opacity ease-in-out 2.8s, 0.6s top ease-in-out 2.8s;
}

.fade-in.count-14 {
	transition: 0.6s opacity ease-in-out 3s, 0.6s top ease-in-out 3s;
}

@media only screen and (min-width: 2000px) {
	.d-xxl-none {
		display: none !important;
	}

	.d-xxl-block {
		display: block !important;
	}

}

@media only screen and (max-width: 1700px) {
	
}

@media only screen and (max-width: 1600px) {
	#purpose-mission-vision .section:first-of-type {
		max-width: 31.5%;
	}

	#purpose-mission-vision .section:first-of-type.open {
		flex: 0 0 39%;
		max-width: 39%;
	}

	#purpose-mission-vision .section:nth-of-type(2) {
		flex: 0 0 20%;
		max-width: 20%;
	}

	#purpose-mission-vision .section:nth-of-type(2).open {
		flex: 0 0 30%;
		max-width: 30%;
	}

	#purpose-mission-vision .section:last-of-type.open {
		flex: 0 0 48.5%;
		max-width: 48.5%;
	}
}

@media only screen and (max-width: 1500px) {
	/* Global */

	

	/* Special Layouts */

}

@media only screen and (max-width: 1440px) {
	/* Global */

	/* Header */

	header.container-fluid {
		height: 70px;
	}

	/* Primary Navigation */

	.menu-primary-navigation-container {
		top: 70px;
		height: calc(100vh - 70px);
	}

	.logged-in .menu-primary-navigation-container {
		top: calc(32px + 70px);
	}

	#menu-primary-navigation a {
		font-size: 1.7em;
	}

	/* Special Layouts */

	#header {
		margin-top: 70px;
	}

	.projects.bg-gray-1:after {
   	 	background: linear-gradient(to right, rgba(31, 31, 31, 0.00) 0%, #191919 100%);
   	}

   	#purpose-mission-vision .section:first-of-type {
		max-width: 27.5%;
	}

	#purpose-mission-vision .section:first-of-type.open {
		flex: 0 0 44%;
		max-width: 44%;
	}

	#purpose-mission-vision .section:nth-of-type(2) {
		flex: 0 0 20%;
		max-width: 20%;
	}

	#purpose-mission-vision .section:nth-of-type(2).open {
		flex: 0 0 36.5%;
		max-width: 36.5%;
	}

	#purpose-mission-vision .section:last-of-type {
		max-width: 36%;
	}

	#purpose-mission-vision .section:last-of-type.open {
		flex: 0 0 52.5%;
		max-width: 52.5%;
	}

	/* Gravity Forms */

	.gform_wrapper textarea {
		height: 100px;
	}
}

@media only screen and (max-width: 1300px) {
	/* Global */


	/* Typography */


	/* Header */

	
	/* Header Navigation */


	/* Special Layouts */

	/* Slick */

	.infinite-carousel {
		font-size: 5.5em;
	}

	/* Helpers */

}

@media only screen and (max-width: 1200px) {
	/* Global */

	/* Typography */

	.page-template-home h1 {
		font-size: 3.7em;
	}

	.number {
		font-size: 4em;
	}

	/* Header */


	/* Header Navigation */

	#menu-primary-navigation a:hover {
		background: transparent;
	}

	#menu-primary-navigation li .sub-menu li a:hover {
		padding-left: 0;
	}

	/* Special Layouts */

	.projects.bg-gray-1:before {
		display: none;
	}

	.projects.bg-gray-1:after {
		display: none;
	}

	.page-template-contact #image {
		position: relative;
		height: 350px;
		width: calc(100% + 30px);
		left: -15px;
	}

	#purpose-mission-vision .section:first-of-type {
		padding-left: calc(((100vw - 960px) / 2));
	}

	#purpose-mission-vision .section:last-of-type {
		padding-right: calc(((100vw - 960px) / 2));
	}

	/* Images */

	#companies .logo {
		height: 35px;
	}

	/* Cards */

	.four-column-cards .card-list {
    	grid-template-columns: repeat(2, 1fr);
    }

    .four-column-cards a.card:hover {
    	background: #191919;
    }

    .four-column-cards .btn-icon {
    	opacity: 1;
    }

    .four-column-cards .card.hover .card-copy {
    	opacity: 1;
    }

    .four-column-cards .card.hover .card-content {
    	transform: none;
    }
    
    /* Slick */

    .infinite-carousel {
    	font-size: 5.5em;
    }

    .gallery .slick-next, .gallery .slick-next:focus, .gallery .slick-next.click-disabled {
	    right: calc(-48px + -10px);
	}

	.gallery .slick-prev, .gallery .slick-prev:focus, .gallery .slick-prev.click-disabled {
		left: calc(-48px + -10px);
	}
}

@media only screen and (max-width: 1024px) {
	/* Global */


	/* Typography */


	/* Header Navigation */


	/* Special Layouts */

	.bg-image.parallax {
		background-attachment: unset;
	}

	/* Slick */

	.slick-prev:not(.slick-disabled):hover, .slick-next:not(.slick-disabled):hover {
		background-color: #FFFF14;
	}

	/* Isotope */

	.isotope .grid-item {
		margin-bottom: 45px;
	}
}

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

	/* Header Navigation */

	#menu-primary-navigation {
		padding-top: 2em;
	}

	#menu-primary-navigation > li > .sub-menu {
		padding: 2em 6em;
		padding-bottom: 4em;
	}

	/* Special Layouts */
	
}

@media only screen and (max-width: 992px) {
	/* Global */


	/* Typography */

	h2.jumbo {
		font-size: 3.5em;
	}

	.number {
		font-size: 3em;
	}

	/* Header */


	/* Helpers */

	.bg-image.h-full {
		height: 70vh;
	}

	/* Video */

	.video {
		height: 400px;
	}

	/* Special Layouts */

	#breadcrumbs {
		margin-top: 0;
	}

	.company-logo {
		margin-top: 0;
	}
	
	#header .image {
		position: relative;
		height: 350px;
		width: calc(100% + 30px);
    	left: -15px;
	}

	#header.bg-gray-1 + .bg-gray-1 > .container > .row:first-of-type {
		padding-top: 0;
	}

	.page-template-history #section-1 .row {
		padding-top: 2em;
		padding-bottom: 2em;
	}

	#purpose-mission-vision {
		height: auto;
	}

	#purpose-mission-vision .section.open,
	#purpose-mission-vision .section {
		max-width: 100% !important;
		flex: 0 0 100% !important;
		border-left: 0;
		border-right: 0;
		border-top: 1px solid #3B3B3B;
		background: transparent;
		padding-left: 30px !important;
		padding-right: 30px !important;
	}

	#purpose-mission-vision .section:first-of-type {
		border-top: 0;
	}

	#purpose-mission-vision .copy {
		opacity: 1;
		max-height: 100%;
		pointer-events: auto;
	}

	.infinite-carousel {
		font-size: 4em;
	}

	.text-carousel .infinite-carousel img {
		height: 20px;
		width: 20px;
	}

	.text-carousel .row {
		padding-top: 1.5em;
		padding-bottom: 1.5em;
	}

	/* Cards */

	.three-column-cards .card-header {
		margin-bottom: 1em;
	}

	/* Gravity Forms */

}

@media only screen and (max-width: 782px) {
	/* Header */

	.logged-in header.container-fluid {
		top: 46px;
	}

	/* Header Navigation */

	.logged-in .menu-primary-navigation-container.visible {
		top: calc(69px + 46px);
	}

	.logged-in .menu-primary-navigation-container, .logged-in .menu-primary-navigation-container {
		height: calc(100vh - 70px - 46px);
	}
}

@media only screen and (max-width: 767px) {
	/* Global */

	#wpadminbar {
		position: fixed !important;
	}

	.row {
		padding-top: 3.11em;
		padding-bottom: 3.11em;
	}

	.py-small {
		padding-top: 2.5em;
		padding-bottom: 2.5em;
	}

	.pt-small {
		padding-top: 2.5em;
	}

	.pb-small {
		padding-bottom: 2.5em;
	}

	/* Typography */

	h1, .h1 {
		font-size: 3em;
	}

	.page-template-home h1 {
		font-size: 3em;
	}

	h2.jumbo {
		font-size: 1.8em;
	}

	.number {
		font-size: 4em;
	}

	.blockquote {
		font-size: 1.3em;
	}

	.stat {
		border-bottom: 1px solid #3B3B3B;
		padding-bottom: 2em;
		filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
	}

	.stat:last-of-type {
		border-bottom: 0;
	}

	.buttons {
		flex-direction: column;
	}

	.buttons a + a {
		margin-left: 0;
		margin-top: 1em;
	}

	.btn-primary,
	.btn-secondary {
		width: 100%;
		text-align: center;
	}

	/* Images */

	#companies .logo {
		height: 50px;
	}

	/* Header */

	#logo a {
		height: 100%;
		display: flex;
		align-items: center;
	}

	#logo img {
		height: 90%;
		width: auto;
	}

	#logo a.hidden {
		opacity: 0;
		pointer-events: none;
	}

	#back-to-main-menu.visible {
		opacity: 1;
		pointer-events: auto;
	}

	/* Header Navigation */

	.nav-label {
		display: none;
	}

	#navigation {
		padding-left: 0;
		padding-right: 15px;
	}

	#menu-primary-navigation {
		display: block;
		width: 100%;
		position: relative;
		padding-top: 2em;
		padding-left: 30px;
		padding-right: 30px;
	}

	#menu-primary-navigation li {
		position: unset;
	}

	#menu-primary-navigation li,
	#menu-primary-navigation .sub-menu li {
		width: 100%;
		display: block;
		padding: 0;
	}

	#menu-primary-navigation li a,
	#menu-primary-navigation .sub-menu li a {
		font-size: 1.5em;
		padding-left: 0;
		padding-right: 0;
		justify-content: flex-start;
		padding-top: 1em;
		padding-bottom: 1em;
		justify-content: space-between;
		transition: 0s opacity 0s;
	}

	#menu-primary-navigation li:last-child a, 
	#menu-primary-navigation .sub-menu li:last-child a {
		border-bottom: 0;
	}

	#menu-primary-navigation > li.open > a {
		opacity: 0;
		pointer-events: none;
		transition: 0.5s opacity 0.25s
	}

	#menu-primary-navigation li a, #menu-primary-navigation li > a,
	#menu-primary-navigation li a:hover, #menu-primary-navigation li:hover > a {
		background: unset;
		border-radius: unset;
	}

	#menu-primary-navigation li > a:before {
		display: none;
	}

	#menu-primary-navigation > li > .sub-menu {
		width: 100vw;
		left: unset;
		padding: 2em 30px;
		z-index: 3;
		background: #191919;
	}

	#menu-primary-navigation li.back-to-menu {
		display: none;
	}

	#menu-primary-navigation.left li.back-to-menu {
		display: block;
		width: 100%;
	}

	#menu-primary-navigation.left li.back-to-menu a {
		border-bottom: 1px solid rgba(255,255,255,0.5);
		background: #005EB8;
	}

	#menu-primary-navigation li.back-to-menu a:before {
		content: '';
		background-image: url(/wp-content/themes/ess/images/icon-caret-white.svg);
		background-size: cover;
		height: 10px;
		width: 5px;
		position: relative;
		display: inline-block;
		transform: rotate(180deg);
		margin-right: 0.5em;
	}

	#menu-primary-navigation.left > li {
		width: 100%;
	}

	#menu-primary-navigation.left > li:not(.open):not(.back-to-menu) {
		opacity: 0;
		pointer-events: none;
		width: 100%;
		transition: 0.5s opacity 0.25s;
	}

	#menu-primary-navigation .sub-menu {
		width: 100%;
		right: -100vh;
		overflow: auto;
		display: block;
		padding-left: 0;
		padding-right: 0;
		padding-bottom: 5em;
		background: #091B2B;
		border-radius: 0;
		opacity: 0;
		pointer-events: auto;
		transition: 0.5s right;
		top: 0;
		left: unset;
		z-index: 2;
	}

	#menu-item-675 ul.sub-menu, #menu-item-676 ul.sub-menu {
		left: unset;
		right: -100vh;
	}

	#menu-primary-navigation .menu-item-has-children:hover .sub-menu {
		opacity: 0;
		pointer-events: none;
	}

	#menu-primary-navigation li.open .sub-menu,
	#menu-primary-navigation .open.menu-item-has-children:hover .sub-menu,
	#menu-item-675.open ul.sub-menu, #menu-item-676.open ul.sub-menu {
		opacity: 1;
		pointer-events: auto;
		right: 0;
	}

	#menu-primary-navigation .sub-menu li:not(.card):hover a {
		background: transparent;
	}

	#menu-primary-navigation .sub-menu li:not(.card) a:after {
		display: none;
	}

	/* BambooHR */

	.BambooHR-ATS-board .BambooHR-ATS-Jobs-Item {
		flex-direction: column;
		align-items: flex-start;
	}

	/* Special Layouts */

	.text-carousel .bg-yellow {
		background-position: -200px center;
	}

	.projects {
		padding-left: 15px;
		padding-right: 15px;
	}

	.video-section .py-small {
		padding-top: 15px;
		padding-bottom: 15px;
	}

	.photo-album .content {
		padding: 1.5em;
		padding-top: 1.75em;
	}

	/* HTML Video */

	/* Cards */

	.four-column-cards .card-list {
		grid-template-columns: repeat(1,1fr);
	}

	.four-column-cards .card-header {
		margin-bottom: 8em;
	}

	.four-column-cards .card-header.no-icon {
		margin-bottom: 6em;
	}

	/* Filters */

	.page-template-projects .overlay {
		pointer-events: none;
		opacity: 0;
		z-index: 994;
		transition: 0.5s all;
	}

	.page-template-projects .overlay.visible {
		opacity: 0.9;
	}

	.filter.checkbox {
		margin-top: 0.5em;
		margin-bottom: 0.5em;
	}

	.filter.search:before {
		height: 30px;
		width: 30px;
	}

	[data-filter-group] .checkbox:hover {
		background: unset;
	}

	#show-filters {
		background: #191919;
		color: #ffffff;
		font-weight: 600;
		display: inline-flex;
		align-items: center;
		padding: 8px 24px;
		padding-left: 20px;
	}

	#show-filters.active {
		border: 1px solid rgba(240,243,247, 0.3);
	}

	#filters {
		position: fixed;
		bottom: 0;
		background: #191919;
		border-top-left-radius: 24px;
		border-top-right-radius: 24px;
		z-index: 995;
		padding-top: 2em;
		padding-bottom: 2em;
		width: 100%;
		height: 70vh;
		margin-left: -30px;
	    display: block;
	    transform: translateY(100%);
	    transition: 0.5s all;
	}

	#filters.open {
		overflow-y: auto;
		overflow-x: hidden;
	}

	#filters.show {
		transform: translateY(0%);
	}

	#close-filters {
		height: 50px;
		width: 50px;
		position: fixed;
		bottom: calc(70vh + 10px);
		right: 15px;
		background-color: #CCC30B;
		background-image: url(/wp-content/themes/rifenburg/images/icon-close.svg);
		background-size: 25px;
		background-position: center;
		background-repeat: no-repeat;
		z-index: 996;
		opacity: 0;
		pointer-events: none;
		transition: 0.5s all;
	}

	#close-filters.show {
		opacity: 1;
		pointer-events: auto;
	}

	.filter-group {
		margin-bottom: 2em;
	}

	.filter-group .label {
		border-radius: 0;
		height: auto;
		font-size: 1.2em;
		color: #F0F3F7;
		border: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		padding-left: 0;
		padding-right: 0;
		background-position: 100% 13px;
		padding-bottom: 0.5em;
	}

	.filter-group .label:hover, .filter-group .label.active {
		border: unset;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.filter-group .label + [data-filter-group] {
		transition: 0s all;
		box-shadow: unset;
		background: unset;
		top: unset;
	}

	.filter-group .label.open + [data-filter-group] {
		position: relative;
		top: unset;
		box-shadow: unset;
		padding-left: 0;
		padding-right: 0;
	}

	[data-filter-group] .checkbox {
		padding-left: 0;
	}

	 #apply-clear {
		padding-top: 1em;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		position: fixed;
        bottom: 0;
        background: #191919;
        z-index: 996;
        padding-bottom: 4em;
        width: 100%;
        left: 0;
        padding-left: 15px;
        padding-right: 15px;
        opacity: 0;
        pointer-events: none;
        transition: 0.5s all;
	}

	#apply-clear.visible {
		opacity: 1;
		pointer-events: auto;
	}

	#apply-clear .btn-primary {
		width: calc(100% - 100px);
		pointer-events: none;
	}

	#apply-clear .btn-primary.active {
		pointer-events: auto;
	}

	#apply-clear .btn-primary .text {
		width: 100%;
		background: rgba(255,80,51,0.2);
		color: rgba(255,80,51,0.5);
		transition: 0.5s all;
	}

	#apply-clear .btn-primary.active .text {
		background: #FF5033;
		color: #541A11;
	}

	#apply-clear .btn-text {
		width: auto;
	}

	[data-filter-group="state"],
	[data-filter-group="service"],
	[data-filter-group="company"] {
		width: 100%;
	}

	/* Slick */

	.infinite-carousel {
		font-size: 3em;
	}

	.single-project .nav {
		margin-top: 1em;
	}

	.testimonials .nav {
		margin-top: 1em;
	}

	/* Tables */

	table {
		display: block;
		overflow: scroll;
	}

	th, td {
		font-size: 0.7em;
	}

	td {
		line-height: 1.2;
	}
	
	th:last-of-type {
		padding-right: 2em;
	}

	td:last-of-type {
		padding-right: 2em;
	}

	/* Lists */

	ul.two-col li {
		width: 100%;
		padding-right: 0;
	}

	/* Gravity Forms */
	
	.gform_wrapper .validation_message {
		top: -1em;
	}

	/* Footer */

	footer .logo {
		margin: 0 !important;
		text-align: center;
		width: 100%;
	}

	#menu-footer-secondary-navigation {
		flex-direction: column;
		align-items: flex-end;
	}

	#menu-footer-secondary-navigation li {
		margin-bottom: 0.25em;
	}

	#menu-footer-secondary-navigation a {
		margin: 0;
	}
}

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

}


@media only screen and (min-width: 768px) and (max-width: 991px) {
	.container.wider {
        max-width: 100%;
    }

	#menu-primary-navigation {
		max-width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	#menu-primary-navigation a {
	    padding-left: calc((100vw - 720px) / 2 + 15px);
	}

	#menu-primary-navigation > li > .sub-menu {
		padding-left: 4em;
		padding-right: 4em;
	}

	.nav-icon {
		left: -15px;
	}

	.nav-icon.close {
		left: -7px;
	}

	/* Special Layouts */

	.projects.bg-gray-1:before {
        width: calc((100vw - 720px) / 2 + 15px);
    }

    .projects.bg-gray-1:after {
        width: calc((100vw - 720px) / 2);
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.container {
        max-width: 100%;
    }

	.container.wider {
        max-width: 100%;
    }

	#menu-primary-navigation {
		max-width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	#menu-primary-navigation a {
	    padding-left: 30px;
	}

	#menu-primary-navigation > li > .sub-menu {
		padding-left: 6em;
		padding-right: 6em;
	}

	.nav-icon {
		left: -15px;
	}

	.nav-icon.close {
		left: -7px;
	}
}

@media only screen and (min-width: 1200px) and (max-width: 1440px) {
	#menu-primary-navigation {
		max-width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	#menu-primary-navigation a {
	    padding-left: calc((100vw - 1140px) / 2 + 15px);
	}

	.container.wider {
        max-width: 1240px;
    }
}

@media only screen and (min-width: 1441px)  {
	#menu-primary-navigation {
		max-width: 1140px;
	}

	.container.wider {
        max-width: 1240px;
    }
}

@media only screen and (max-height: 800px) {
	#menu-primary-navigation {
		overflow: auto;
		padding-bottom: 4em;
	}

	#menu-primary-navigation > li > .sub-menu {
		height: calc(100% + 4em);
	}
}