/*
	Theme Name: Ruby-Collins Theme
	Author: FieldWrk
*/

#tinymce {
	padding: 30px;
}

/* Login Screen */

.login {
	background: #0C0E0D;
}

#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/rc/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;
	margin-bottom: 0;
	padding-left: 0;
	padding-right: 0;
}

.login label {
	color: #ffffff;
}

.login form .input, .login input[type=password], .login input[type=text] {
	font-size: 1em !important;
	padding: 0.5em 1em !important;
	-webkit-appearance: none;
	width: 100%;
	border: 0;
	box-shadow: unset;
	border-radius: 0;
	margin-bottom: 1em;
}

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

#login form p.submit {
	text-align: center;
}

.wp-core-ui .button.button-large.button-primary, .wp-core-ui .button.button-large {
	padding: 0.8em 1.5em;
	font-size: 1em;
	transition: 0.5s all;
	border-radius: 0;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	justify-content: space-between;
	font-family: 'Montserrat';
	line-height: 1;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	background: #F5BC2D;
	color: #0C0E0D;
	border: 1px solid #F5BC2D;
}

.wp-core-ui .button.button-large.button-primary:hover {
	background: #E3AE2A;
	text-decoration: none;
	color: #0C0E0D;
	border: 1px solid #E3AE2A;
}

.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;
}

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

/* Font References */

@font-face {
  	font-family: 'Bebas Neue';
  	src: url(library/fonts/BebasNeue-Regular.ttf);
}

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

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

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

@font-face {
  	font-family: 'Montserrat';
  	font-weight: 500;
  	font-style: italic;
  	src: url(library/fonts/Montserrat-MediumItalic.ttf);
}

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

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

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

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

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

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

/* Global */

* {
    box-sizing: border-box;
}

html {
	font-size: 17px;
	margin: 0;
	padding: 0;
	overscroll-behavior-y: none;
}

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

body {
	font-size: 1em;
	margin: 0;
	padding: 0;
	font-family: 'Montserrat';
	font-weight: 500;
	color: rgba(36,38,37,0.7);
	position: relative;
	background: #ffffff;
}

.container {
	width: 90%;
	max-width: 1440px;
}

.container.full-width {
	width: 100%;
	max-width: 1600px;
	padding-left: 0;
	padding-right: 0;
}

.container-fluid {
	position: relative;
}

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

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

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

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

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

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

/* Typography */

h1, .h1 {
	font-family: 'Bebas Neue';
	text-transform: uppercase;
	color: #ffffff;
	font-size: 5.7em;
	line-height: 0.9;
	margin: 0;
	margin-bottom: 0.15em;
}

h1.smaller,
.h1.smaller {
	font-size: 4em;
}

h2, .h2 {
	letter-spacing: 1.6px;
	text-transform: uppercase;
	font-size: 1em;
	color: #F5BC2D;
	font-family: 'Montserrat';
	font-weight: 600;
	margin-bottom: 1em;
	display: flex;
	align-items: center;
}

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

h2.h3 {
	display: block;
	letter-spacing: normal;
}

h2:not(.h3):not(.h1):before,
.h2:before {
	content: '';
	width: 40px;
	height: 2px; 
	position: relative;
	background: #F5BC2D;
	margin-right: 0.5em;
}

.bg-white:not(.full-width-media) h2,
.bg-white .h2,
.bg-light-gray:not(.full-width-media) h2,
.bg-light-gray .h2 {
	color: #0C0E0D;
}

.bg-white:not(.full-width-media) h2:not(.h3):not(.h1):before,
.bg-white .h2:before ,
.bg-light-gray:not(.full-width-media) h2:not(.h3):not(.h1):before,
.bg-light-gray .h2:before {
	background: #0C0E0D;
}

.text-center h2:before,
.single #header .h2:before {
	display: none;
}

.single-project .text-center h2:before {
	display: block;
}

h3, .h3 {
	font-family: 'Montserrat';
	font-weight: 800;
	font-size: 2.6em;
	text-transform: uppercase;
	color: #0C0E0D;
	line-height: 112.5%;
}

h3.smaller, .h3.smaller {
	font-size: 2em;
	line-height: 142.857%;
}

.bg-dark {
	color: #E5E5E5;
}

.bg-dark h3:not(.h2),
.bg-dark h2.h3,
.bg-dark-gray h3,
.bg-dark-gray h2 {
	color: #ffffff;
}

.bg-dark-gray {
	color: #BDBEBE;
}

h4, .h4 {
	font-family: 'Montserrat';
	font-weight: 600;
	font-size: 1.3em;
	color: #0C0E0D;
}

.single h4 {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

h5, .h5 {
	font-size: 1.1em;
	font-weight: 500;
	font-family: 'Montserrat';
	color: #0C0E0D;
}

a {
	color: #000000;
	transition: 0.5s all;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
	color: #000000;
}

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

hr {
	border-top: 1px solid #E7EBED;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	width: 0;
	transition: 0.5s all;
	margin-left: 0; 
}

hr.in {
	width: 100%;
}

#header hr {
	border-top: 4px solid #F5BC2D;
}

.stats hr {
	border-color: #3C3E3D;
}

.stats.bg-dark hr {
	border-color: #242625;
}

.bg-light-gray hr {
	border-color: #D6D6D6;
}

.number {
	color: #F5BC2D;
	font-family: 'Bebas Neue';
	font-size: 9em;
	text-transform: uppercase;
	line-height: 1;
}

.stats .bg-image + .container .number {
	color: #7DA7AE;
}

b, strong {
	font-weight: 800;
}

.single strong {
	font-weight: 700;
}

.large {
	font-size: 1.8em;
}

.color-white {
	color: #ffffff;
}

.color-black {
	color: #000000;
}

.color-dark {
	color: #0C0E0D;
}

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

.small {
	font-size: 0.7em;
}

.blockquote {
	font-size: 1.3em;
	color: #000000;
	font-weight: 500;
}

.bg-dark .blockquote {
	color: #ffffff;
}

.bg-dark .author {
	color: #ffffff !important;
}

.bg-dark .author + span {
	color: #BDBEBE !important;
}

.author {
	font-weight: 600;
}

.btn-primary, .btn-secondary {
	padding: 1em 1.25em;
	font-size: 1em;
	transition: 0.5s all;
	border-radius: 0;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	justify-content: space-between;
	font-family: 'Montserrat';
	line-height: 1;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	text-decoration: none;
}

.btn-primary {
	background: #F5BC2D;
	color: #0C0E0D;
	border: 1px solid #F5BC2D;
}

.btn-primary.smaller {
	padding: 0.8em 1em;
}

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

.btn-primary.focus, .btn-primary:focus {
	box-shadow: unset;
}

.btn-primary:disabled {
	background: #D6D6D6;
	color: #0C0E0D;
	border: unset;
	cursor: default;
}

.btn-secondary {
	background: #333333;
	color: #ffffff;
}

.btn-secondary:hover {
	background: #000000;
	text-decoration: none;
	color: #ffffff;
	border: 0;
}

.btn-text {
	font-family: 'Montserrat';
	line-height: 1;
	font-weight: 700;
	letter-spacing: 1.6px;
	position: relative;
	cursor: pointer;
	text-transform: uppercase;
	text-decoration: none;
}

.btn-text:hover {
	text-decoration: none;
}

.btn-text:after {
	content: '';
	height: 2px;
	width: 100%;
	background: rgba(12,14,13,0.2);
	position: absolute;
	bottom: -0.5em;
	left: 0;
	transition: 0.5s background;
}

.btn-text:hover:after {
	background: #0C0E0D;
}

.breadcrumb {
	font-family: 'Montserrat';
	line-height: 1;
	font-weight: 700;
	letter-spacing: 1.6px;
	position: relative;
	cursor: pointer;
	text-transform: uppercase;
	background: transparent;
	color: #F5BC2D;
	padding: 0;
	margin-bottom: 1em;
	text-decoration: none;
}

.breadcrumb:hover {
	color: #F5BC2D;
	text-decoration: none;
}

.breadcrumb img {
	height: 20px;
	width: 20px;
	margin-right: 0.5em;
	transition: 0.5s all;
	position: relative;
	left: 0;
}

.breadcrumb:hover img {
	left: -5px;
}

/* Helpers */

.vertical-separator {
	height: 100%;
	width: 1px;
	background: #D6D6D6;
	margin-left: auto;
	margin-right: auto;
}

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

.separator-2 {
	height: 30px;
	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%;
}

.fancybox-content {
    width: 80%;
    height: calc(80% - 64px - 1em);
    overflow: visible;
    top: 64px;
}

.plan.fancybox-content {
	background: #f2f2f2;
	width: 60%;
	height: 400px;
}

.fancybox-slide--html .fancybox-close-small {
	height: 64px;
	width: 64px;
	background-color: #F5BC2D;
	background-image: url(/wp-content/themes/rc/images/icon-x.svg);
	background-size: 24px;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 1;
	transition: 0.5s background-color;
	top: calc(-64px - 1em);
}

.fancybox-slide--html .fancybox-close-small:hover {
	background-color: #E3AE2A;
}

.fancybox-button svg {
	display: none;
}

.fancybox-content .row {
	height: calc(100% + 44px);
	overflow: hidden;
}

.fancybox-content .h1 {
	color: #0C0E0D;
}

.fancybox-content .icon {
	height: 64px;
	width: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #F5BC2D;
	margin-bottom: 2em;
}

.fancybox-content .icon:hover {
	background: #E3AE2A;
}

.fancybox-content .icon img {
	height: 24px;
	width: 24px;
}

.fancybox-content .image {
	height: calc(100% - 44px);
	overflow: hidden;
}

.fancybox-content .image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.fancybox-content .content {
	height: 100%;
	overflow: scroll;
	padding-bottom: 44px;
}

.fancybox-content .bio {
	padding-right: 4em;
}

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

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

.bg-dark {
	background-color: #0C0E0D !important;
}

.bg-dark-gray {
	background-color: #242625 !important;
}

.bg-light-gray {
	background-color: #F2F2F2;
}

.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;
	z-index: 1;
	opacity: 0;
	transition: 0.5s all;
}

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

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

.bg-video .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 {
	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: linear-gradient(180deg, rgba(12, 14, 13, 0.00) 10.64%, rgba(12, 14, 13, 0.80) 86.47%);
	pointer-events: none;
}

#header.bg-video .overlay {
	z-index: 3;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.00) 25%, rgba(0, 0, 0, 0.70) 79.44%), linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
}

/* 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%;
}

.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.aligncenter {margin: 1em auto;}

.icon-set .icon {
	filter: brightness(0) saturate(100%) invert(39%) sepia(7%) saturate(52%) hue-rotate(131deg) brightness(92%) contrast(90%);
	height: 20px;
	width: 20px;
	margin-right: 0.5em;
}

.border-bottom {
	border-bottom: 8px solid #F5BC2D !important;
}

/* Google Maps */

#map-container {
	padding-bottom: 4em;
}

#map-container .container,
#map-container .row {
	height: 100%;
}

#map {
	height: 80vh;
	width: 100%;
}

.gm-style-iw-chr {
	position: absolute;
	width: 100%;
}

.gm-style-iw-ch {
	padding: 0;
}

.gm-style .gm-style-iw-d {
	padding: 1.5em;
	padding-right: 4em;
	background-color: #242625;
	color: #B7B9BD;
	border-radius: 0;
	overflow: unset !important;
	line-height: 1.4;
	font-size: 1em;
}

.gm-style .gm-style-iw-d .h5 {
	color: #ffffff;
}

.gm-style .gm-style-iw-t {
	bottom: 15px !important;
}

.gm-style .gm-style-iw-d .icon {
	height: 20px;
	width: 20px;
	margin-right: 0.5em;
	filter: brightness(0) saturate(100%) invert(97%) sepia(3%) saturate(13%) hue-rotate(19deg) brightness(103%) contrast(102%);
	opacity: 0.5;
}

.gm-style .gm-style-iw-d hr {
	border-color: rgba(255,255,255,0.12);
}

.gm-style-iw-tc {
	display: none;
}

.gm-style .gm-style-iw-t::after {
	border: 1px solid #3A7C5B;
	z-index: 1;
    border-right: 0;
    border-top: 0;
}
  
.gm-style .gm-style-iw-d .btn-text {
	font-size: 0.7em;
}

.gm-style .gm-style-iw-d .btn-text img {
	height: 15px;
	width: 20px;
}

.gm-style-mtc-bbw,
.gm-svpc {
	display: none;
}

.gm-style .gm-style-iw-c {
	border-radius: 0;
	padding: 0;
	box-shadow: unset;
	background: #0E120F;
	padding-top: 0 !important;
	margin-top: -3.2em;
}

.gm-style .gm-style-iw-c button {
	top: 0.5em !important;
	right: 0.5em !important;
	margin: 0 !important;
	height: 15px !important;
	width: 15px !important;
}
 
.gm-ui-hover-effect>span {
	height: 15px !important;
	width: 15px !important;
	background: #ffffff !important;
	margin: 0 !important;
}

.gm-style .gm-style-iw-c button:focus {
	outline: unset;
}

.gm-style .gm-style-iw-c button img {
	height: 100% !important;
	width: 100% !important;
	margin: 0 !important;
}

.gm-style .gm-style-iw-tc::after {
	height: 35px;
	width: 40px;
	left: -8px;
	background: #2E6084;
	display: none !important;
}

#map-section .text {
	padding-left: 2em;
}

/* Toggle */

.toggle {
	background: #F2F2F2;
	padding: 4px;
	display: inline-flex;
	transition: 0.5s all;
	height: 76px;
}

.toggle .btn {
	padding: 16px 24px;
	font-size: 1em;
	transition: 0.5s all;
	border-radius: 0;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	justify-content: space-between;
	font-family: 'Montserrat';
	line-height: 1;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #0C0E0D;
}

.toggle .btn.active {
	background: #F5BC2D;
}

/* Header */

header.container-fluid {
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	margin-top: 0;
	margin-bottom: 0;
	height: 96px;
	transition: 0.5s background;
	border-bottom: 1px solid rgba(255,255,255,0.20);
}

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

header.container-fluid.solid {
	background: #0C0E0D;
}

header .container {
	height: 100%;
}

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

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

#logo a {
	display: block;
	height: 48px;
	width: auto;
}

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

header .btn-primary {
	height: 48px;
}

header .country-selector.weglot-inline {
	margin-left: 1em;
}

header .country-selector.weglot-inline a {
	color: #ffffff; 
	padding: 0;
	position: relative;
}

.country-selector.weglot-inline a:hover {
	color: #ffffff;
	text-decoration: none;
}

header .country-selector.weglot-inline label {
	color: #ffffff;
	position: relative;
	top: 1px;
}

header .country-selector.weglot-inline .weglot-language {
	color: #ffffff;
    opacity: 0.5;
    transition: opacity 0.4s;
    font-size: 1em;
    margin: 0;
}

header .country-selector.weglot-inline .weglot-language.wgcurrent {
	opacity: 1;
}

header .country-selector.weglot-inline .weglot-language:not(.wgcurrent):hover {
	opacity: 0.7;
}

.country-selector[aria-label="Language selected: Spanish"] {
	flex-direction: row-reverse;
}

.country-selector.weglot-inline li { 
	margin: 0; 
}

.country-selector.weglot-inline ul {
	border-left: 1px solid #ffffff;
	padding-left: 0.5em;
	margin-left: 0.5em;
}

/* Header Navigation */

#navigation {
	position: relative;
	z-index: 2;
	height: 100%;
}

#menu-primary-navigation {
	margin: 0;
	padding: 0;
	display: flex;
	height: 100%;
}

#menu-primary-navigation li {
	list-style-type: none;
	text-transform: none;
	margin: 0;
	display: block;
	font-size: 1em;
	width: auto;
}

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

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

#menu-primary-navigation a {
	color: #ffffff;
	font-family: 'Montserrat';
	font-weight: 500;
	font-size: 1em;
	transition: 0.5s color;
	text-decoration: none;
	z-index: 2;
	position: relative;
	margin-left: 1em;
	margin-right: 1em;
	justify-content: center;
	height: 100%;
	display: flex;
	align-items: center;
	text-transform: uppercase;
}

#menu-primary-navigation .menu-item-has-children > a {
	cursor: default;
}

#menu-primary-navigation li.current-menu-parent > a,
#menu-primary-navigation li.current-menu-item > a,
#menu-primary-navigation .sub-menu li.current-menu-item > a {
	color: #F5BC2D;
}

#menu-primary-navigation li:first-child a {
	margin-left: 0;
}

#menu-primary-navigation li:last-child a {
	margin-right: 0;
}

#menu-primary-navigation .caret,
.filter-group  .label .caret {
	margin-left: 0.5em;
	height: 8px;
	display: flex;
}

#menu-primary-navigation .caret img,
.filter-group .label .caret img {
	filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(0deg) brightness(103%) contrast(103%);
	height: 100%;
	transition: transform .4s cubic-bezier(.4,0,.2,1);
}

.filter-group .label .caret img {
	filter: unset;
}

#menu-primary-navigation .caret img:last-of-type,
.filter-group .label .caret img:last-of-type {
	position: relative;
	left: -4px;
}

#menu-primary-navigation li:hover .caret img,
.filter-group .label.open .caret img {
	filter: brightness(0) saturate(100%) invert(83%) sepia(35%) saturate(1851%) hue-rotate(339deg) brightness(104%) contrast(99%);
}

.filter-group .label.open .caret img {
	filter: unset;
}

#menu-primary-navigation li:hover .caret img:first-of-type,
.filter-group .label.open .caret img:first-of-type {
	transform: rotate(-90deg);
}

#menu-primary-navigation li:hover .caret img:last-of-type,
.filter-group .label.open .caret img:last-of-type {
	transform: rotate(90deg);
}

#menu-primary-navigation .sub-menu {
	position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s opacity;
    z-index: 1;
    width: auto;
    left: 0;
    background: #0C0E0D;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 4px;
}

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

#menu-primary-navigation .sub-menu li {
	display: block;
	white-space: nowrap;
	width: 100%;
}

#menu-primary-navigation .sub-menu li a {
	padding: 0;
	color: #FFFFFF;
	margin: 0;
	display: block;
	padding: 16px 24px;
}

#menu-primary-navigation .sub-menu a:hover {
	background: #242625;
}

#nav-icon {
	position: relative;
	display: flex;
	align-items: center;
	width: 40px;
  	height: 40px;
	justify-content: center;
  	background-color: #ffffff;
  	right: -30px;
}

.nav-icon {
  	width: 20px;
  	height: 10px;
  	display: flex;
  	flex-direction: column;
  	align-items: center;
  	justify-content: space-between;
}

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

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

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

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

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

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

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

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

/* Special Layouts */

#header {
	height: 800px;
}

#header .overlay {
	background: rgba(12, 14, 13, 0.65);
}

.page-template-home #header {
	height: 100vh;
	max-height: 1200px;
	min-height: 800px;
}

.single-project #header.bg-black .container > .row {
	padding-top: calc(6em + 96px);
}

.logged-in.single-project #header.bg-black .container > .row {
	padding-top: calc(6em + 96px + 32px);
}

#header .container,
#header .row {
	height: 100%;
}

.page-template-home #header .btn-primary {
	margin-bottom: 1em;
}

.page-template-home #header hr {
	border-color: #F5BC2D;
}

#header .color-white {
	width: 75%;
}

#header .circle {
	height: 6px;
	width: 6px;
	background: #F5BC2D;
	border-radius: 50%;
	margin-left: 1em;
	margin-right: 1em;
}

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

.bg-dark + .bg-dark > .container > .row:first-of-type {
	padding-top: 0;
}

.full-width-media {
	padding-top: 4em;
	padding-bottom: 4em;
}

.full-width-media.careers {
	padding-top: 2em;
	padding-bottom: 2em;
}

.full-width-media .container,
.stats .container {
	position: relative;
}

.full-width-media .overlay,
.stats .overlay {
	background: rgba(12,14,13,0.65);
}

.full-width-media .bg-image,
.stats .bg-image {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}

.full-width-media .bg-image .image,
.stats .bg-image .image {
	position: absolute;
	top: 0;
	left: 0;
	height: 110%;
	width: 100%;
	background-size: cover;
	background-position: center;
}

.stats .bg-image .image {
	height: 120%;
}

.full-width-media .row {
	padding-top: 12em;
	padding-bottom: 12em;
	position: relative;
	z-index: 2;
}

.image-text {
	padding-top: 3em;
	padding-bottom: 3em;
}

.image-text + .image-text {
	padding-top: 0;
}

.image-text .container {
	height: 100%;
}

.image-text .container.full-width {
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	top: 3em;
	height: calc(100% - 6em);
}

.image-text + .image-text .container.full-width {
	top: 0;
	height: calc(100% - 3em);
}

.image-text .container:not(.full-width) .row {
	height: 100%;
	padding-top: 12em;
	padding-bottom: 12em;
}

.image-text .container.full-width .row {
	height: 100%;
	padding: 0;
}

.image-text .container.full-width .row .image {
	height: 100%;
}

.image-text .container.full-width .row .image img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

.stats .row {
	position: relative;
	z-index: 2;
}

.stat {
	color: #ffffff;
	height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.full-width-media.careers .row {
	padding-top: 24em;
	padding-bottom: 3em;
}

.full-width-media.careers .overlay {
	background: linear-gradient(180deg, rgba(12, 14, 13, 0.00) 10.64%, rgba(12, 14, 13, 0.80) 86.47%), linear-gradient(270deg, rgba(12, 14, 13, 0.00) 59.04%, rgba(12, 14, 13, 0.50) 90.71%);
}

.full-width-media.careers hr {
	border-color: rgba(214,214,214,0.2);
}

.full-width-media.careers .benefit {
	font-weight: 600;
	color: #ffffff;
}

.full-width-media.careers .benefit .icon {
	height: 24px;
	width: 24px;
	margin-right: 1em;
}

.full-width-media.careers .btn-primary {
	width: 100%;
	justify-content: center;
}

.bg-white.image-text + .bg-white.image-text > .container:first-of-type > .row,
.bg-white.image-text + .bg-white.images > .container:first-of-type > .row,
.single .bg-white + .bg-white > .container > .row {
	padding-top: 0;
}

.history, 
.team,
.page-template-our-impact .stats {
	padding-bottom: 4em;
}

.single .stats {
	padding-top: 4em;
	padding-bottom: 4em;
}

.accordion-layout h2:before {
	display: none;
}

.show-hide-sections {
	color: #616262;
}

.show-hide-sections .show-hide-triggers {
	margin-left: 0;
}

.show-hide-sections .show-hide-triggers li {
	border-top: 1px solid #D6D6D6;
	padding: 2em;
	cursor: pointer;
	margin: 0;
	transition: background 0.4s cubic-bezier(0.4,0,0.2,1), 0.5s opacity;
	list-style-type: none;
	opacity: 0.6;
}

.show-hide-sections .show-hide-triggers li:hover {
	background: #ffffff;
	opacity: 1;
}

.show-hide-sections .show-hide-triggers li.active {
	background: #7DA7AE;
	opacity: 1;
}

.show-hide-sections .show-hide-triggers li:last-child {
	border-bottom: 1px solid #D6D6D6;
}

.show-hide-sections .show-hide-triggers li h4 {
	text-transform: unset;
	font-size: 1.7em;
}

.show-hide-sections .show-hide-triggers li.active h4 {
	color: #ffffff;
}

.show-hide-sections .show-hide-content > div {
	display: none;
	opacity: 0;
	top: 10px;
	position: absolute;
	transition: 0s all;
	width: calc(100% - 15px);
}

.show-hide-sections .show-hide-content > div.active {
	display: block;
	opacity: 1;
	top: 0px;
	position: relative;
	transition: 0.5s all;
	width: 100%;
}

.jump-links .btn-text {
	font-weight: 500;
	margin-top: 1em;
	margin-bottom: 1em;
	text-transform: unset;
	letter-spacing: unset;
	font-size: 1em;
	display: inline-flex;
}

.accordion-layout .btn-primary {
	top: -0.6em;
	position: relative;
}

/* Cards */

.card {
	justify-content: center;
	border: 0;
	overflow: hidden;
	border-radius: 0;
	position: relative;
	background: transparent;
	transition: 0.5s box-shadow, 0.5s top;
	box-shadow: unset;
	top: 0;
}

a.card {
	text-decoration: none;
}

.featured-projects a.card:hover {
	box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.40);
	top: -10px;
}

.featured-projects .card-body {
	background: linear-gradient(180deg, rgba(12, 14, 13, 0.00) 0%, rgba(12, 14, 13, 0.90) 80%);
	position: absolute;
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: #E5E5E5;
	font-weight: 400;
}

.featured-projects .card-body h3 {
	font-weight: 600;
	font-size: 1em;
	text-transform: capitalize;
}

.featured-projects .card-body h3,
.featured-projects .card-body .location,
.cards a.card h3 {
	color: #ffffff;
}

.featured-projects .card-body hr {
	border-color: #F5BC2D;
	height: 1px;
}

.cards .card {
	background: #ffffff;
	height: 100%;
}

.cards a.card {
	background: #242625;
	color: #ffffff;
	pointer-events: none;
}

a.card:hover {
	text-decoration: none;
}

.cards .card-body {
	padding: 2.5em;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.cards .icon {
	height: 36px;
	width: 36px;
	margin-bottom: 1.5em;
}

.cards h3 {
	margin-bottom: 0.5em;
}

.cards .btn-primary {
	pointer-events: auto;
}

.recent-news .card-body h4,
.recent-news .card-body .btn-text {
	color: #0C0E0D;
}

.recent-news .card-body {
	padding-left: 0;
	padding-right: 0;
	align-items: flex-start;
    display: flex;
    flex-direction: column;
    color: #242625;
}

.recent-news a.card:hover .btn-text:after {
	background: #0C0E0D;
} 

.recent-news .card .card-img {
	overflow: hidden;
}

.recent-news a.card .card-img img  {
	transform: scale(1);
	transition: 0.5s all;
}

.recent-news a.card:hover .card-img img {
	transform: scale(1.1);
}

.team .card-img {
	position: relative;
}

.team .card-body {
	background: #FFFFFF;
	border-bottom: 1px solid #CFCFCF;
	color: #616262;
	transition: background .4s cubic-bezier(.4,0,.2,1);
}

.team a:hover .card-body {
	background: #F5BC2D;
}

.team .card-body h4 {
	color: #0C0E0D;
}

.team .card .icon {
	height: 64px;
	width: 64px;
	background-color: #F5BC2D;
	background-image: url(/wp-content/themes/rc/images/icon-arrow-right-dark.svg);
	background-size: 24px;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	top: 1em;
	right: 1em;
	transition: 0.5s all cubic-bezier(.4,0,.2,1);
	opacity: 0;
}

.team .card:hover .icon {
	opacity: 1;
}

.grid-item .card-body {
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
	color: #616262;
}

.post h4,
.project h4 {
	font-size: 1em;
	color: #000000;
}

.position h4 {
	color: #000000;
}

.grid-item .card-img {
	overflow: hidden;
	position: relative;
}

.grid-item .card-img img {
	transition: 0.5s all;
	transform: scale(1);
	position: relative;
}

.grid-item .card-img:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 8px;
	background: #F5BC2D;
	width: 0%;
	transition: .4s cubic-bezier(.4,0,.2,1);
}

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

.grid-item:hover .card-img img {
	transform: scale(1.1);
}

.position {
	border-bottom: 1px solid #E5E5E5;
}

.position .card {
	flex-direction: row;
	transition: 0.5s background;
}

.position:hover .card {
	background: #ffffff;
}

.position .card-body {
	padding-top: 1.5em;
	padding-bottom: 1.5em;
	padding-left: 1.5em;
}

.position .card-footer {
	background: transparent;
	border: 0;
	padding-left: 0;
	padding-top: 1.5em;
	padding-bottom: 1.5em;
	padding-right: 1.5em;
	display: flex;
	align-items: center;
}

.position:hover .btn-primary {
	background: #E3AE2A;
}

/* Swiper */

.testimonials-swiper,
.logos-carousel,
.featured-projects,
.recent-news,
.images,
.image-carousel-swiper {
	overflow: hidden;
}

.testimonials-swiper + .nav,
.history-swiper + .nav {
    position: absolute;
    top: 50%;
    width: calc(100% - 30px);
    justify-content: space-between;
}

.testimonials-swiper + .nav {
	top: unset;
}

.image-carousel-swiper + .nav {
	margin-top: 2em;
}

.logos-swiper .swiper-wrapper, 
.images-swiper .swiper-wrapper {
   	-webkit-transition-timing-function:linear!important;
   	-o-transition-timing-function:linear!important;
   	transition-timing-function:linear!important;
}

.logos-swiper .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
}

.logos-swiper img {
	max-height: 100px;
	width: auto;
}

.history-swiper .swiper-wrapper {
	align-items: center;
}
.image-carousel-swiper img {
	border-bottom: 8px solid #F5BC2D;
}

.history-swiper .swiper-slide h2 {
	justify-content: center;
}

.history-swiper .swiper-slide {
	color: #0C0E0D;
}

.history-swiper .swiper-slide .number {
	color: #0C0E0D;
}

.swiper-pagination-progressbar.swiper-pagination-horizontal {
	height: 2px;
	position: relative;
	width: 88%;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
	background: #0C0E0D;
}

.swiper-navigation {
	display: flex;
	gap: 15px;
}

.swiper-button-prev, .swiper-button-next {
	height: 64px;
	width: 64px;
	background-color: #F5BC2D;
	background-size: 24px;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	right: unset;
	left: unset;
	margin: unset;
	color: unset;
	transition: 0.5s background-color;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
	background-color: #E3AE2A;
}

.swiper-button-prev svg, .swiper-button-next svg,
.swiper-button-prev:after, .swiper-button-next:after {
	display: none;
}

.swiper-button-prev, .swiper-button-prev:focus, .swiper-button-prev:hover, .swiper-button-prev:active {
	background-image: url(/wp-content/themes/rc/images/icon-arrow-left-dark.svg);
}

.swiper-button-next, .swiper-button-next:focus, .swiper-button-next:hover, .swiper-button-next:active {
	background-image: url(/wp-content/themes/rc/images/icon-arrow-right-dark.svg);
}

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
	background-color: #E5E5E5;
	cursor: default
}

.swiper-button-prev.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled:focus, .swiper-button-prev.swiper-button-disabled:hover, .swiper-button-prev.swiper-button-disabled:active {
	background-image: url(/wp-content/themes/rc/images/icon-arrow-left-disabled.svg);
}

.swiper-button-next.swiper-button-disabled, .swiper-button-next.swiper-button-disabled:focus, .swiper-button-next.swiper-button-disabled:hover, .swiper-button-next.swiper-button-disabled:active {
	background-image: url(/wp-content/themes/rc/images/icon-arrow-right-disabled.svg);
}

.bg-dark .swiper-button-next.swiper-button-disabled, .bg-dark .swiper-button-prev.swiper-button-disabled {
	background-color: #3C3E3D;
}

.bg-dark .swiper-button-prev.swiper-button-disabled, .bg-dark .swiper-button-prev.swiper-button-disabled:focus, .bg-dark .swiper-button-prev.swiper-button-disabled:hover, .bg-dark .swiper-button-prev.swiper-button-disabled:active {
	background-image: url(/wp-content/themes/rc/images/icon-arrow-left-dark-disabled.svg);
}

.bg-dark .swiper-button-next.swiper-button-disabled, .bg-dark .swiper-button-next.swiper-button-disabled:focus, .bg-dark .swiper-button-next.swiper-button-disabled:hover, .bg-dark .swiper-button-next.swiper-button-disabled:active {
	background-image: url(/wp-content/themes/rc/images/icon-arrow-right-dark-disabled.svg);
}

.bg-light-gray .swiper-button-next.swiper-button-disabled, .bg-light-gray .swiper-button-prev.swiper-button-disabled  {
	background-color: #E5E5E5;
}

.testimonials-swiper + .nav .swiper-button-next {
	right: -100px;
}

.testimonials-swiper + .nav .swiper-button-prev {
	left: -100px;
}

/* Filter */

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

#top {
	min-height: 1000px;
}

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

#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;
}

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

.filter.search {
	position: relative;
	display: flex;
	align-items: center;
}

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

.filter.search input {
	-webkit-appearance: none;
	border: 0;
	width: 100%;
	padding: 0;
	background: #ffffff;
	padding: 16px 24px;
	outline: none;
	padding-left: 48px;
	color: #0C0E0D;
	line-height: 1;
	height: 60px;
	transition: 0.5s all;
}

.filter.search input:active {
	border: 1px solid #161817 !important;
}

.filter.search input:focus {
	box-shadow: 0 0 0 4px rgba(22, 24, 23, 0.12) !important;
	border: 1px solid #161817;
	outline: unset;
}
.filter.search input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: rgba(12,14,13,0.5);
}

.filter.search input::-moz-placeholder { /* Firefox 19+ */
	color: rgba(12,14,13,0.5);
}

.filter.search input:-ms-input-placeholder { /* IE 10+ */
	color: rgba(12,14,13,0.5);
}

.filter.search input:-moz-placeholder { /* Firefox 18- */
	color: rgba(12,14,13,0.5);
}

.filter.search input:focus::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: rgba(12,14,13,0.5);
}

.filter.search input:focus::-moz-placeholder { /* Firefox 19+ */
  color: rgba(12,14,13,0.5);
}

.filter.search input:focus:-ms-input-placeholder { /* IE 10+ */
  color: rgba(12,14,13,0.5);
}

.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.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/rc/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: #FFFFFF;
	padding: 16px 24px;
	height: 60px;
	display: flex;
	align-items: center;
	width: 100%;
	cursor: pointer;
	border: 1px solid transparent;
	transition: 0.5s all;
	font-size: 1em;
	font-weight: 500;
	color: rgba(12,14,13,0.5);
}

.label .number {
	font-weight: 600;
	font-size: 0.7em;
	color: #000000;
	position: relative;
	top: -4px;
	margin-left: 4px;
	font-family: 'Montserrat';
}

.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: #FFFFFF;
	border: 1px solid #E5E5E5;
	box-shadow: 0 2px 16px 0 rgba(22, 24, 23, 0.12);
	padding: 4px;
	position: absolute;
	opacity: 0;
	pointer-events: none;
	transition: 0.5s all;
	top: calc(60px + 8px);
	z-index: 996;
}

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

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

[data-filter-group="delivery-method"] {
	width: 500px;
}

[data-filter-group="client-type"] {
	width: 250px;
}

[data-filter-group="category"] {
	width: 350px;
}

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

.filter.checkbox {	
	cursor: pointer;
	display: flex;
	align-items: center;
	color: rgba(12,14,13,0.5);
	transition: 0.5s background;
	padding: 1em;
}

.filter.checkbox:hover {
	background: #F2F2F2;
}

.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: 16px;
	width: 16px;
	border: 1px solid #161817;
	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/rc/images/icon-checked.svg);
	background-size: 10px;
	background-repeat: no-repeat;
	background-position: center;
	border: 0;
	background-color: #161817;
}

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

#no-results .col-12 div {
	text-align: center;
	justify-content: center;
	display: flex;
	align-items: center;
	padding-top: 12em; 
	padding-bottom: 12em;
	background: #ffffff;
	flex-direction: column;
}

#no-results img {
	height: 72px;
	width: 72px;
}

/* 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: 60px;
	padding-left: 15px;
	padding-right: 15px;
}

.grid-item.position {
	margin-bottom: 0;
}

.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%;
}

#load-more {
	margin-top: 2em;
}

/* 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 {
	cursor: pointer;
	padding: 0;
	margin: 0;
}

.accordion li {
	list-style-type: none;
	margin: 0;
	padding-top: 2em;
	border-bottom: 1px solid #3C3E3D;
	display: block;
	font-size: 1em;
	transition: 0.5s all;
}

.accordion li:before {
	display: none;
}

.accordion li.open {
	padding-bottom: 2em;
}

.accordion li:first-child {
	border-top: 1px solid #3C3E3D;
}

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

.accordion .h1 {
	color: #A4CFD6;
	transition: 0.5s opacity;
	width: 90%;
}

.accordion .h1:hover {
	opacity: 0.7;
}

.accordion .answer {
	display: none;
	width: 80%;
}

.accordion .btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	left: -6px;
    position: relative;
}

.accordion .btn-icon:before,
.accordion .btn-icon:after {
	background: #ffffff;
	content: '';
	height: 20px;
	width: 2px;
	position: relative;
	border-radius: 4px;
	transition: transform .4s cubic-bezier(.4,0,.2,1);
}

.accordion .btn-icon:after {
	transform: rotate(90deg);
	left: -2px;
}

.accordion li.open .btn-icon:before {
	transform: rotate(90deg);
	left: -2px;
}

/* Lists */

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

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

ul.two-col {
	display: flex;
	flex-wrap: wrap;
}

ul.two-col li {
	width: 50%;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

/* Gravity Forms */

.gform_confirmation_message {
	font-size: 1.3em
}

.gform_required_legend {
	display: none;
}

.gform_confirmation_message img {
	height: 30px;
	width: 30px;
	margin-bottom: 1em;
}

.gfield {
	position: relative;
}

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

.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: 4px;
	left: 10px;
}

.gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices, .gform_wrapper.gravity-theme .gfield textarea, .gform_wrapper input:not(.chosen-search-input):not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .gform_wrapper.gravity-theme select {
	font-size: 1em !important;
	padding: 16px 24px!important;
	padding-top: 35px !important;
	-webkit-appearance: none;
	width: 100%;
	box-shadow: none;
	background-color: #FFFFFF !important;
	color: #000000 !important;
	height: 60px;
	border: 1px solid #ffffff;
	transition: 0.5s border;
}

input.chosen-search-input {
	border: unset !important;
}

.gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices:active, .gform_wrapper.gravity-theme .gfield textarea:active, .gform_wrapper input:not(.chosen-search-input):not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):active, .gform_wrapper.gravity-theme select:active {
	border: 1px solid #161817 !important;
}

.gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices:focus, .gform_wrapper.gravity-theme .gfield textarea:focus, .gform_wrapper input:not(.chosen-search-input):not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus, .gform_wrapper.gravity-theme select:focus {
	box-shadow: 0 0 0 4px rgba(22, 24, 23, 0.12) !important;
	border: 1px solid #161817;
	outline: unset;
}

.gform_wrapper.gravity-theme select {
	background-image: url(/wp-content/themes/rc/images/icon-caret-down-dark.svg);
	background-size: 15px;
	background-position: 95% center;
	background-repeat: no-repeat;
	padding-top: 25px !important;
    padding-bottom: 10px !important;
}

.gform_wrapper textarea {
	height: 215px !important;
  	overflow: auto;
  	resize: unset;
}

.gform_wrapper #field_2_18 textarea {
	height: 292px !important;
  	overflow: auto;
  	resize: unset;
}

.gform_wrapper.gravity-theme .gfield_validation_message, .gform_wrapper.gravity-theme .validation_message {
	background: transparent !important;
	border: 0 !important;
	color: #c02b0a;
	padding: 0 !important;
	color: #E5202C !important;
}

#gform_fields_1 {
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto auto auto auto;
	grid-gap: 20px 30px;
}

#gform_fields_2 {
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto auto auto auto;
	grid-gap: 20px 30px;
}

#gform_fields_4 {
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto auto auto auto auto;
	grid-gap: 20px 30px;
}

.gform_wrapper.gravity-theme .gfield_error [aria-invalid=true] {
	border: 0 !important;
}

.gform_wrapper.gravity-theme .gfield_error label {
	color: inherit !important;
}

.gform_validation_errors {
	display: none;
}

#gform_submit_button_3 {
	width: 100%;
}

#field_1_1 {
	grid-area: 1 / 1 / 2 / 2;
}

#field_1_3 {
	grid-area: 2 / 1 / 3 / 2;
}

#field_1_4 {
	grid-area: 1 / 2 / 2 / 3;
}

#field_1_5 {
	grid-area: 4 / 1 / 5 / 2;
}

#field_1_6 {
	grid-area: 2 / 2 / 5 / 3;
}

#field_1_7 {
	grid-area: 3 / 1 / 4 / 2;
}

#field_1_8 {
	grid-area: 5 / 1 / 6 / 3;
}

#field_2_1 {
	grid-area: 1 / 1 / 2 / 2;
}

#field_2_17 {
	grid-area: 2 / 1 / 3 / 2;
}

#field_2_5 {
	grid-area: 3 / 1 / 4 / 2;
}

#field_2_3 {
	grid-area: 4 / 1 / 5 / 2;
}

#field_2_10 {
	grid-area: 5 / 1 / 6 / 2;
}

#field_2_20 {
	grid-area: 1 / 2 / 2 / 3;
}

#field_2_19 {
	grid-area: 2 / 2 / 3 / 3;
}

#field_2_18 {
	grid-area: 3 / 2 / 7 / 3;
}

#field_2_7 {
	grid-area: 6 / 1 / 7 / 2;
}

#field_4_1 {
	grid-area: 1 / 1 / 2 / 3;
}

#field_4_10 {
	grid-area: 2 / 1 / 3 / 2;
}

#field_4_20 {
	grid-area: 3 / 1 / 4 / 2;
}

#field_4_21 {
	grid-area: 4 / 1 / 5 / 2;
}

#field_4_22 {
	grid-area: 5 / 1 / 6 / 2;
}

#field_4_23 {
	grid-area: 6 / 1 / 7 / 2;
}

#field_4_17 {
	grid-area: 2 / 2 / 3 / 3;
}

#field_4_3 {
	grid-area: 3 / 2 / 4 / 3;
}

#field_4_5 {
	grid-area: 4 / 2 / 5/ 3;
}

#field_4_24 {
	grid-area: 5 / 2 / 6 / 3;
}

#field_4_7 {
	grid-area: 6 / 2 / 7 / 3;
}

#field_4_26{
	grid-area: 7 / 1 / 8 / 3;
}

.gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices {
	height: 120px !important;
	overflow-y: scroll !important;
}

input.chosen-search-input {
	color: transparent !important;
}

.gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices li {
	width: auto;
}

#field_4_26 label.gfield_label.gform-field-label.active {
    width: calc(100% - 15px);
    background: #ffffff;
    top: 0;
    padding-top: 4px;
    padding-bottom: 4px;
}

.file-upload {
	background: #ffffff;
	padding-left: 24px;
	padding-right: 4px;
	padding-top: 4px;
	padding-bottom: 4px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 60px;
	color: rgba(12,14,13,0.5);
}

.file-upload .btn-primary {
	padding: 16px;
	margin-bottom: 0;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: rgba(12,14,13,0.5);
  transition: 0.5s all;
}

::-moz-placeholder { /* Firefox 19+ */
  color: rgba(12,14,13,0.5);
  transition: 0.5s all;
}

:-ms-input-placeholder { /* IE 10+ */
 color: rgba(12,14,13,0.5);
  transition: 0.5s all;
}

:-moz-placeholder { /* Firefox 18- */
  color: rgba(12,14,13,0.5);
  transition: 0.5s all;
}

input:focus::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: rgba(12,14,13,0.5);
}

input:focus::-moz-placeholder { /* Firefox 19+ */
  color: rgba(12,14,13,0.5);
}

input:focus:-ms-input-placeholder { /* IE 10+ */
  color: rgba(12,14,13,0.5);
}

input:focus:-moz-placeholder { /* Firefox 18- */
  color: rgba(12,14,13,0.5);
}

.gform_wrapper.gravity-theme .gfield input.invalid,
.gform_wrapper.gravity-theme .gfield textarea.invalid,
.gform_wrapper.gravity-theme .gfield select.invalid,
input.chosen-search-input.invalid {
    border: 1px solid red !important;
}

.gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices {
	border: unset !important;
}

/* Footer */

footer a {
	text-decoration: none;
}

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

footer hr {
	border-color: #3C3E3D;
	margin-top: 4em;
	margin-bottom: 4em;
}

#menu-footer-navigation {
	margin: 0;
	padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#menu-footer-navigation li {
	list-style-type: none;
	margin: 0;
    position: relative;
    width: 100%;
    margin-bottom: 0.25em;
    border-top: 1px solid #3C3E3D;
    padding-top: 1.5em;
    padding-bottom: 1em;
}

#menu-footer-navigation li:before {
	display: none;
}

#menu-footer-navigation li:last-child {
	border-bottom: 1px solid #3C3E3D;
}

#menu-footer-navigation li a {
	font-family: 'Bebas Neue';
	font-size: 4em;
	line-height: 0.8;
	transition: 0.5s all;
	color: #F2F2F2;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
}

#menu-footer-navigation li a:hover {
	color: #7DA7AE;
	text-decoration: none;
}

#menu-footer-navigation li a:after {
	content: '';
	background-image: url(/wp-content/themes/rc/images/icon-arrow-right-blue.svg);
	height: 73px;
	width: 73px;
	background-size: cover;
	position: relative;
	margin-left: 0.05em;
	display: inline-block;
	opacity: 0;
	transition: 0.5s all;
	left: -10px;
	top: -5px;
}

#menu-footer-navigation li:hover a:after {
	left: 0;
	opacity: 1;
}

#menu-footer-navigation li a.faded {
	color: #242625;
}

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

#menu-footer-secondary-navigation li {
	width: auto;
	margin-left: 1em;
	margin-right: 1em;
	margin-top: 0;
	margin-bottom: 0;
	list-style-type: none;
}

#menu-footer-secondary-navigation li:first-child {
	margin-left: 0;
}

#menu-footer-secondary-navigation li:before {
	display: none;
}

#menu-footer-secondary-navigation li a {
	color: #FFFFFF;
}

#menu-footer-secondary-navigation li a:hover {
	color: #7DA7AE;
	text-decoration: none;
}

footer a.fieldwrk img {
	height: 48px;
	opacity: 0.5;
	transition: 0.5s opacity;
}

footer a.fieldwrk:hover img {
	filter: brightness(0) saturate(100%) invert(93%) sepia(7%) saturate(7356%) hue-rotate(334deg) brightness(99%) contrast(93%);
	opacity: 1;
}

footer .social {
	height: 48px;
	width: 48px;
	background: #7DA7AE;
	border-radius: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.5s all;
}

footer .social:hover {
	background: #70989F;
}

/* 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) {

	/* Header */

	#logo a {
		height: 42px;
	}

	header .btn-primary {
		height: 42px;
	}

	/* Helpers */

	.fancybox-content {
		width: 95%;
	}

	/* Toggle */

	/* Special Layouts */

	.image-text .container.full-width {
    	width: calc(100% - 30px);
	}

	#header .color-white {
		width: 90%;
	}
}

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

	#logo a {
		height: 38px;
	}

	header .btn-primary {
		font-size: 0.7em;
		height: 38px;
	}

	/* Header Navigation */

	#menu-primary-navigation a { 
		font-size: 0.9em;
		margin-left: 1em;
		margin-right: 1em;
	}

	/* Toggle */

	header .country-selector.weglot-inline {
		font-size: 0.8em;
	}

	/* Special Layouts */

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

	.full-width-media.careers .benefit,
	.full-width-media.careers .btn-primary {
		font-size: 0.8em;
	}

	.full-width-media .row {
		padding-top: 8em;
		padding-bottom: 8em;
	}
}

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

	.container.full-width {
		width: 95%;
	}

	/* Typography */

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

	h1.smaller, .h1.smaller {
		font-size: 3.5em;
	}

	h3.smaller, .h3.smaller {
		font-size: 1.5em;
	}

	.number {
		font-size: 9em;
	}

	/* Header Navigation */

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

	#menu-primary-navigation .sub-menu li a {
		padding: 10px 20px;
	}

	/* Helpers */

	.fancybox-content .h1 {
		font-size: 3em;
	}

	.fancybox-content .h3 {
		font-size: 1.5em;
	}

	/* Special Layouts */

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

	.stats .container:not(.full-width),
	.full-width-media .container:not(.full-width) {
		width: calc(100% - 70px);
	}

	.image-text .container.full-width {
    	width: calc(95% - 30px);
	}

	.image-text .container:not(.full-width) .row {
		padding-top: 8em;
		padding-bottom: 8em;
	}

	.show-hide-sections .show-hide-triggers li h4 {
		font-size: 1.5em;
	}

	/* Swiper */

	.swiper-pagination-progressbar.swiper-pagination-horizontal {
		width: 85%;
	}

	/* Footer */

	#menu-footer-navigation li {
		margin-bottom: 0;
	}

	#menu-footer-navigation li a {
		font-size: 3.5em;
	}

	#menu-footer-navigation li a:after {
		height: 65px;
		width: 65px;
	}


}

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

	html {
		font-size: 17px;
	}

	/* Typography */


	/* Header */

	header.container-fluid {
		height: 70px;
	}
	
	.country-selector.weglot-inline li {
		top: 0;
	}
	
	/* Header Navigation */

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

	/* Helpers */


	/* Special Layouts */

	#header {
		height: 600px;
	}

	.single-project #header.bg-black .container > .row {
		padding-top: calc(5em + 70px);
	}

	.logged-in.single-project #header.bg-black .container > .row {
		padding-top: calc(5em + 70px + 32px);
	}

	.image-text .container:not(.full-width) .row {
		padding-top: 7em;
		padding-bottom: 7em;
	}

}

@media only screen and (max-width: 1200px) {
	/* Global */
	
	html {
		font-size: 16px;
	}

	.container {
		width: 95%;
	}

	.container.full-width {
		width: 100%;
	}

	/* Typography */

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

	.btn-primary, .btn-secondary {
		font-size: 0.8em;
	}

	/* Header */

	#logo a {
		height: 30px;
	}

	/* Helpers */

	.fancybox-content .bio {
		padding-right: 0;
	}

	/* Toggle */

	.country-selector.weglot-inline li {
		top: -1px;
	}

	/* Header Navigation */

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

	/* Special Layouts */

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

	.full-width-media.careers .benefit,
	.full-width-media.careers .btn-primary {
		font-size: 0.7em;
	}

	.stats .container:not(.full-width), .full-width-media .container:not(.full-width) {
        width: calc(100% - 55px);
    }

    .image-text .container:not(.full-width) {
        width: calc(95% - 30px);
    }

	/* Swiper */

	.swiper-pagination-progressbar.swiper-pagination-horizontal {
		width: 82%;
	}

	.history-swiper + .nav .swiper-button-prev {
		left: -50px;
	}

	.history-swiper + .nav .swiper-button-next {
		right: -50px;
	}
}

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

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

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


	/* Typography */

	/* Header Navigation */

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

	/* Special Layouts */

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

	.image-text .container:not(.full-width) .row {
		padding-top: 5em;
		padding-bottom: 5em;
	}

	/* Helpers */

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

	/* Isotope */

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

@media only screen and (min-width: 1200px) and (max-height: 750px) {
	/* Header Navigation */


	/* Special Layouts */
	
}

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

	.container.full-width {
		width: 96%;
	}

	.row {
		padding-top: 4em;
		padding-bottom: 4em;
	}
	
	.py-small {
		padding-top: 2em;
		padding-bottom: 2em;
	}

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

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

	/* Typography */

	h1.smaller, .h1.smaller {
		font-size: 3.3em;
	}

	/* Helpers */

	.fancybox-content {
		height: calc(90% - 64px - 1em);
	}

	.fancybox-content .content {
		height: calc(100% - 450px - 2em);
	}

	.fancybox-content .image {
		height: 450px;
	}

	.plan.fancybox-content {
		width: 90%;
	}

	/* Toggle */

	.toggle .btn {
		font-size: 0.9em;
	}

	header .country-selector.weglot-inline {
		position: relative;
		right: -20px;
	}

	/* Header */

	header.container-fluid {
		height: 80px;
		transition: 0s background;
	}

	header.container-fluid:not(.solid):not(.open):hover {
		background: transparent;
	}

	header.container-fluid.open {
		background: #0C0E0D;
		transition: 0s background;
	}

	/* Header Navigation */

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

	#navigation {
		margin: inherit;
	}

	.menu-primary-navigation-container, .logged-in .menu-primary-navigation-container {
		background: #0C0E0D;
	    height: calc(100vh - 80px);
	    width: 100%;
	    left: 0;
	    position: fixed;
	    top: calc(-100vh - 80px);
	    display: flex;
	    align-items: flex-start;
	    justify-content: center;
	    overflow-y: scroll;
	}

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

	.menu-primary-navigation-container.visible {
		top: 79px;
	}

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

	#menu-primary-navigation {
		flex-direction: column;
		align-items: flex-start;
		margin: 0;
		padding: 0;
		width: 100%;
	}

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

	#menu-primary-navigation a {
		font-size: 1.7em;
		padding-top: 1em;
		padding-bottom: 1em;
		height: auto;
		text-transform: uppercase;
		justify-content: space-between;
		margin: 0;
		padding-left: 30px;
		padding-right: 30px;
		border-bottom: 1px solid #242625;
	}

	#menu-primary-navigation li.open > a {
		background: #242625;
	}

	#menu-primary-navigation .caret {
		height: 12px;
	}

	#menu-primary-navigation .caret img:first-of-type {
		left: 6px;
		position: relative;
	}

	#menu-primary-navigation .caret img:last-of-type {
		left: 0;
	}

	#menu-primary-navigation li:hover .caret img {
		filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(0deg) brightness(103%) contrast(103%);
	}

	#menu-primary-navigation li.open .caret img {
		filter: brightness(0) saturate(100%) invert(83%) sepia(35%) saturate(1851%) hue-rotate(339deg) brightness(104%) contrast(99%);
	}

	#menu-primary-navigation li:hover .caret img:first-of-type,
	#menu-primary-navigation li:hover .caret img:last-of-type {
		transform: unset;
	}

	#menu-primary-navigation li.open .caret img:first-of-type {
		transform: rotate(-90deg);
	}

	#menu-primary-navigation li.open .caret img:last-of-type {
		transform: rotate(90deg);
	}

	#menu-primary-navigation .sub-menu {
		display: none;
		position: relative;
		background: transparent;
		padding-top: 0;
		padding-bottom: 0;
		border: 0;
	}

	#menu-primary-navigation .sub-menu li {
		padding: 0;
		margin: 0;
	}

	#menu-primary-navigation .sub-menu li a {
		font-size: 1.25em;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding-top: 0.3em;
		padding-bottom: 0.3em;
		padding-left: 3em;
		padding-right: 22px;
		width: 100%;
		text-transform: capitalize;
	}

	#menu-primary-navigation .sub-menu a:after {
		content: '';
		background-image: url(/wp-content/themes/rc/images/icon-caret-down-white.svg);
		position: relative;
		transform: rotate(-90deg);
		height: 9px;
		width: 18px;
		background-size: cover;
		background-size: cover;
        display: inline-block;
        opacity: 0.5;
	}

	#menu-primary-navigation .menu-item-has-children > a:after {
		height: 10px;
		width: 14px;
	}

	#menu-primary-navigation .sub-menu a:before {
		display: none;
	}

	/* Helpers */

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

	/* Special Layouts */

	#header {
		height: auto;
	}

	#header .container > .row {
		padding-top: calc(4em + 80px);
	}

	#header .circle {
		background: unset;
		width: 100%;
		height: 0.5em;
		display: block;
	}

	.single-project #header.bg-black .container > .row {
		padding-top: calc(4em + 80px);
	}

	.logged-in.single-project #header.bg-black .container > .row {
		padding-top: calc(4em + 80px + 32px);
	}

	.full-width-media.careers .benefit,
	.full-width-media.careers .btn-primary {
		font-size: 1em;
	}

	.full-width-media.careers .btn-primary {
		margin-top: -2.5em;
		width: 100%;
	}

	.show-hide-sections .show-hide-triggers li {
		padding: 1em;
		padding-left: 1.5em;
		padding-right: 1.5em;
		padding-top: 2em;
		padding-bottom: 2em;
	}

	.show-hide-sections .show-hide-triggers li:not(.active):hover {
		background: transparent;
	}

	.show-hide-sections .show-hide-triggers li.active {
		padding-bottom: 1.5em;
		padding-top: 1em;
	}

	.show-hide-triggers li.active .content {
		margin-top: 1em;
		color: #ffffff;
	}

	.show-hide-triggers li:not(.active) .content {
		display: none;
	}

	.stats .container:not(.full-width), .full-width-media .container:not(.full-width) {
        width: calc(100% - 20px);
    }

    .image-text + .image-text {
		padding-top: 2em;
	}

    .image-text .container.full-width {
    	position: relative;
    	width: 95%;
    	top: unset;
    	height: auto;
    }

    .image-text .container:not(.full-width) {
    	width: calc(100% - 30px);
    }

    .image-text .container.full-width .row {
    	padding: 0;
    }

    .image-text .container:not(.full-width) .row {
    	padding-bottom: 0;
    	padding-top: 3em;
    	padding-bottom: 0;
    }

    .image-text .container .row .content {
    	padding-left: 0;
    	padding-right: 0;
    }

    .image-text.jump-links .container.full-width .row {
    	padding-top: 0;
    	padding-bottom: 0;
    }

    .accordion-layout .btn-primary {
    	top: unset;
    	margin-top: 1em;
    }

    /* cards */

    .position:hover .card-body {
    	background: transparent;
    }

    .position .card-body {
    	padding-left: 0;
    }

    .position .card-footer {
    	padding-right: 0;
    }

	/* Swiper */

	.swiper-pagination-progressbar.swiper-pagination-horizontal {
		width: 75%;
	}

	.testimonials-swiper + .nav .swiper-button-prev {
	    left: -94px;
	}

	.testimonials-swiper + .nav .swiper-button-next {
	    right: -94px;
	} 

	/* Gravity Forms */

	#gform_fields_1,
	#gform_fields_2,
	#gform_fields_4 {
		display: block;
	}

	.gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices {
		height: 200px !important;
	}

	.chosen-search-input {
		width: 100% !important;
	}

	.gform_wrapper.gravity-theme .gfield textarea, .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .gform_wrapper.gravity-theme select {
		margin-bottom: 1em !important;
	}

	.file-upload {
		margin-bottom: 1em;
	}

	/* Filters */

	.content-overlay {
		pointer-events: none;
		opacity: 0;
		z-index: 994;
		transition: 0.5s all;
		background: rgba(0,0,0,0.5);
		height: 100%;
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
	}

	.content-overlay.visible {
		opacity: 0.9;
	}

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

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

	#show-filters {
		background: #ffffff;
		color: rgba(12,14,13,0.5);
		font-weight: 500;
		display: inline-flex;
		align-items: center;
		padding: 16px 24px;
	}

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

	#show-filters img {
		height: 16px;
	}

	#filters {
		position: fixed;
		bottom: 0;
		background: #0C0E0D;
		z-index: 995;
		padding-top: 2em;
		padding-bottom: 2em;
		width: 100%;
		height: 70vh;
		margin-left: -48px;
	    display: block;
	    transform: translateY(100%);
	    transition: 0.5s all;
	    box-shadow: 0 2px 16px 0 rgba(22, 24, 23, 0.12);
	}

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

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

	#close-filters {
		height: 64px;
		width: 64px;
		position: fixed;
		bottom: calc(70vh + 10px);
		right: 15px;
		background-color: #F5BC2D;
		background-image: url(/wp-content/themes/rc/images/icon-x.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;
		background: #3C3E3D;
		color: #ffffff;
		padding: 16px 24px;
		justify-content: space-between;
	}

	.filter-group .label .caret img,
	.filter-group .label.open .caret img {
		filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(0deg) brightness(103%) contrast(103%);
	}

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

	.filter.chip .number, .label .number {
		color: #ffffff;
	}

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

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

	.filter.checkbox {
		color: #ffffff;
	}

	.filter.checkbox:before {
		border-color: #ffffff;
	}

	.filter.checkbox.checked:before {
		background-color: #7DA7AE;
	}

	.filter.search {
		margin-bottom: 1em;
	}

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

	#apply-clear {
		padding-top: 1em;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		position: fixed;
        bottom: 0;
        background: #0C0E0D;
        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 {
		pointer-events: none;
		margin-right: 1em;
	}

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

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

	#apply-clear .btn-text:after {
		background: rgba(255,255,255,0.5);
	}

	#apply-clear .btn-text:hover:after {
		background: #ffffff;
	}

	[data-filter-group="service"],
	[data-filter-group="delivery-method"],
	[data-filter-group="client-type"],
	[data-filter-group="category"],
	[data-filter-group="location"] {
		width: 100%;
	}

	/* Footer */

	#menu-footer-navigation li a {
		font-size: 3em;
	}

	#menu-footer-navigation li a:after {
		height: 50px;
		width: 50px;
		top: -4px;
	}
}

@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(79px + 46px);
	}

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

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

	#wpadminbar {
		position: fixed !important;
	}

	.container {
		width: 100%;
	}

	.row {
		padding-top: 3em;
		padding-bottom: 3em;
	}
	
	.py-small {
		padding-top: 1.5em;
		padding-bottom: 1.5em;
	}

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

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

	/* Typography */

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

	h1.smaller, .h1.smaller {
		font-size: 2.7em;
	}

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

	h2, .h2 {
		font-size: 0.9em;
	}

	#header h2:not(.h3):not(.h1):before, #header .h2:before {
		display: none;
	}

	h3, .h3 {
		font-size: 2em;
	}

	h3.smaller, .h3.smaller {
		font-size: 1.7em;
	}

	.number {
		font-size: 5em;
	}

	.blockquote {
		font-size: 1.1em;
	}

	/* Toggle */

	.toggle {
		height: unset;
	}

	/* Header */


	/* Header Navigation */

	#menu-primary-navigation a {
		font-size: 1.3em;
		padding-left: 25px;
		padding-right: 25px;
	}

	#menu-primary-navigation .caret {
		height: 10px;
	}

	#menu-primary-navigation .sub-menu li a {
		font-size: 1em;
	}

	#menu-primary-navigation .sub-menu a:after {
		width: 12px;
		height: 6px;
	}

	/* Images */

	.alignleft, .alignright { float: unset; margin: 1em auto; display: block;}

	/* Google Maps */

	#map {
		height: 450px;
	}

	/* Helpers */

	.fancybox-content {
		padding: 1em;
	}

	.fancybox-content .image {
		height: 350px;
	}

	.fancybox-content .content {
        height: calc(100% - 350px - 2em);
    }

	/* Special Layouts */

	.page-template-home #header {
		height: auto;
	}

	#header .color-white {
		width: 100%;
	}

	.single-project #header.bg-black .container > .row {
		padding-top: calc(2em + 80px);
	}

	.logged-in.single-project #header.bg-black .container > .row {
		padding-top: calc(2em + 80px + 46px);
	}

	.full-width-media {
		padding-top: 2em;
		padding-bottom: 2em;
	}

	.full-width-media .row {
		padding-top: 8em;
		padding-bottom: 8em;
	}

	.full-width-media.careers .row {
		padding-top: 8em;
	}

	.full-width-media.careers .btn-primary {
		margin-top: 2em;
	}

	.history,
	.team,
	.page-template-our-impact .stats {
		padding-bottom: 2em;
	}

	.image-text {
		padding-top: 2em;
		padding-bottom: 2em;
	}

	.image-text + .image-text {
		padding-top: 2em;
	}

	.image-text .container:not(.full-width) .row {
    	padding-top: 2em;
    	padding-bottom: 0;
    }

    accordion-layout .btn-primary {
    	margin-top: 0;
    }

	/* HTML Video */


	/* Cards */


	/* 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 */
	

	/* Isotope */

	.position .card {
		flex-direction: column;
	}

	.position .card-footer {
		padding-top: 0;
	}

	/* Filters */

	#filters {
		margin-left: -29px;
	}

	/* Swiper */

    .swiper-pagination-progressbar.swiper-pagination-horizontal {
	    width: 55%;
	}

	.testimonials-swiper + .nav,
	.history-swiper + .nav {
		position: relative;
		top: unset;
		margin-top: 2em;
		justify-content: flex-start;
	}

	.testimonials-swiper + .nav .swiper-button-prev {
		left: 0;
	}

	.testimonials-swiper + .nav .swiper-button-next {
		right: -10px;
	}

	.history-swiper + .nav {
		justify-content: center;
		width: 100%;
	}

	.history-swiper + .nav .swiper-button-prev {
		left: -5px;
	}

	.history-swiper + .nav .swiper-button-next {
		right: -5px;
	}

	.history-swiper .swiper-slide .number {
		font-size: 5em;
	}

	/* Gravity Forms */

	.file-upload .btn-primary {
		font-size: 0.7em;
	}

	/* Helpers */

	.fancybox-slide--html .fancybox-close-small {
		height: 45px;
		width: 45px;
		background-size: 18px;
	}

	.fancybox-content .icon {
		height: 45px;
		width: 45px;
	}

	.fancybox-content .icon img {
		height: 18px;
		width: 18px;
	}

	.fancybox-content .h3.smaller {
		font-size: 1.3em;
	}

	/* Swiper */

	.swiper-button-prev, .swiper-button-next {
		height: 45px;
		width: 45px;
		background-size: 18px;
	}

	/* Footer */

	#menu-footer-navigation li {
		height: auto;
		padding-top: 1.25em;
		padding-bottom: 0.5em;
	}

	#menu-footer-navigation li a {
		font-size: 1.6em;
	}

	#menu-footer-secondary-navigation li a {
		font-size: 0.8em;
	}

	footer .social {
		height: 40px;
		width: 40px;
	}

	footer a.fieldwrk img {
		height: 40px;
	}

	#menu-footer-navigation li a:after {
		display: none;
	}
}

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

	/* Footer */

	#menu-footer-navigation li {
		height: 23px;
	}

	#menu-footer-navigation li a {
		font-size: 1.4em;
	}
}