/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");

/* General */
h2, .largest-text, .largest-text *, #menu-main li a {
  font-size: 4.4vw !important;
  line-height: 4.4vw !important;
  letter-spacing: -2px;
}
.almost-largest-text, .almost-largest-text * {
  font-size: 3.4vw !important;
  line-height: 3.4vw !important;
  letter-spacing: -1.5px;
}
.larger-text, .larger-text * {
  font-size: 2.3vw !important;
  line-height: 2.3vw !important;
  letter-spacing: -1.5px;
}
.pre-headline, .pre-headline * {
  font-size: 15px !important;
  letter-spacing: 0 !important;
}
.pre-headline h1 {
  display: inline-block;
}
a, h1, h2, h3, h4, h5, h6, p, div, span, em, i, u {
  font-family: "Helvetica" !important;
  font-weight: 400 !important;
}

.et_pb_row, .container, .single-investments.et-db #et-boc .et-l .et_pb_row {
  max-width: 1800px;
  width: 92.5%;
}

#left-area {
  width: 100% !important;
  padding-right: 0 !important; 
}

#et-main-area, .et_pb_section, #main-content {
  background: #F8F8F7;
}

body {
  background: #141f26;
}
body.page-id-2 {
  background: #F8F8F7;
}

#page-container a.et_pb_button {
  padding: 10px 45px !important;
}
#page-container a.et_pb_button.normal-btn, .investment-image-inner p.et_pb_button, #main-content .investment-image-inner p.et_pb_button:hover {
  padding: 10px 32px 10px 50px !important;
}
#page-container a.et_pb_button.normal-btn::after, .investment-image-inner p.et_pb_button::after, .white-btn.service-btn::after {
  display: block;
  content: "";
  background: url('https://rubikproperties.dk/wp-content/uploads/2025/02/cube-icon.svg');
    background-size: auto;
  width: 13px;
  height: 13px;
  background-size: cover !important;
  position: absolute;
  left: 25px;
  opacity: 1 !important;
  top: 16px;
  right: inherit;
  margin: 0 !important;
  transition: 0.3s cubic-bezier(0.80, 0, 0.20, 1) 0s !important;
}
.intro-animation {
  transition: 1s cubic-bezier(0.80, 0, 0.20, 1) 0s !important;
}
.video-hover {
  transition: .3s ease-in-out;
}
#page-container a.et_pb_button.normal-btn:hover::after, .investment-image-inner p.et_pb_button:hover::after, .white-btn.service-btn:hover::after {
  transform: rotate(180deg);
}
#highlights .et_pb_text li {
  line-height: 22px !important;
  margin-bottom: 15px !important;
}
#highlights .et_pb_column.et-last-child strong {
  display: inline-block;
  margin-bottom: 10px !important;
}

#page-container a.et_pb_button.outline-btn {
  text-transform: none !important;
  padding: 5px 20px 5px 0 !important;
  background: none !important;
  border-bottom: 1px solid #F8F8F7 !important;
  overflow: visible !important;
}

#height .scroll-text {
  color: white !important;
}
#height .scroll-text::before {
  background: white !important;
}

#height .et_pb_column.et-last-child {
  width: 100%;
  position: absolute;
  bottom: 110px;
}
#height.approach .et_pb_column.et-last-child {
  width: 46% !important;
  position:  inherit !important;
  bottom:  inherit !important;
}

#page-container a.et_pb_button.outline-btn::after {
  display: block;
  content: "";
  background: url('https://rubikproperties.dk/wp-content/uploads/2025/02/white-btn-arrow.svg');
  width: 9px;
  height: 11.25px;
  background-size: cover !important;
  position: absolute;
  right: 0;
  opacity: 1 !important;
  top: 14px;
  transition: 0.3s cubic-bezier(0.80, 0, 0.20, 1) 0s !important;
}
#page-container a.et_pb_button.outline-btn:hover::after {
  transform: rotate(-90deg);
}
#page-container a.et_pb_button.outline-btn.et_pb_bg_layout_light {
  border-bottom: 1px solid #131E24 !important;
}
#page-container a.et_pb_button.outline-btn.et_pb_bg_layout_light::after {
  background: url('https://rubikproperties.dk/wp-content/uploads/2025/02/dark-btn-arrow.svg');
}

/* Header */
#main-header, #main-header.et-fixed-header {
  box-shadow: none !important;
  height: 120px !important;
  background: none !important;
}
.logo_container {
  height: 120px !important;
}
.et_pb_svg_logo #logo {
  height: 60% !important;
}
#main-content .container::before {
  display: none !important;
}
.header-time {
  width: 250px;
  position: relative;
  left: 50%;
  top: 30px;
}
.header-time span {
  margin-right: 10px;
}
.header-menu {
  position: absolute;
  right: 0;
  width: 30px;
  height: 40px;
  cursor: pointer;
  top: 26px;
  z-index: 999999999999;
  padding-top: 10px;
}
.header-menu span.line {
  width: 100%;
  height: 1px;
  background: #131E24;
  display: block;
  margin-bottom: 5px;
  transition: .1s cubic-bezier(0.80, 0, 0.20, 1) 0s !important;
}
.header-menu.opened span.line {
  background: #F8F8F7;
}
.header-menu.opened span.line:nth-child(1) {
  opacity: 0;
  margin-bottom: 2px;
}
#main-header {
  transition: .3s ease-in-out;
}
#main-header.hide-header {
	top: -120px !important;
  background: none !important;
}
#main-header.show-header {
	top: 0px !important;
  background: none !important;
}
.header-modal-inner {
  background: #131E24;
  padding: 30px;
  width: 50vw;
  right: -50vw;
  position: fixed;
  top: 0;
  bottom: 0;
  transition: .8s cubic-bezier(0.80, 0, 0.20, 1) 0s !important;
}
.header-modal-inner.visible {
  right: 0;
}
.header-modal-inner * {
  color: #f8f8f7;
}
.header-bottom {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
}
.header-bottom .column {
  display: inline-block;
  width: 49.5%;
  vertical-align: top;
}
.header-bottom .column:nth-child(2) {
  text-align: right;
}
.header-bottom * {
  font-size: 13px;
}
.header-bottom #inner-menu {
  padding-left: 0 !important;
  list-style-type: none;
}
.header-bottom #inner-menu li {
  margin-left: 10px;
  display: inline-block;
}
.header-bottom #inner-menu li a {
  text-decoration: underline;
}
/*
#menu-main li:last-child {
  padding-top: 3vw;
}
*/
#menu-main li a {
  transition: .3s cubic-bezier(0.80, 0, 0.20, 1) 0s !important;
  display: block;
}
.menu-video {
  width: 20px;
  position: relative;
  top: -9px;
  right: -10px;
  opacity: 0;
  transition: .3s cubic-bezier(0.80, 0, 0.20, 1) 0s !important;
}
#menu-main li a:hover .menu-video {
  opacity: 1;
  right: 0;
}

#menu-main:hover li a {
    opacity: 0.2; /* Default opacity for all items when hovering */
}

#menu-main li a:hover {
    color: #A0BFD0 !important;
    opacity: 1; /* Make hovered item fully visible */
}
.error404 #page-container {
  padding-top: 0 !important;
}

/* Page Intro */
body.page-id-2 {
  overflow: hidden;
}
body.page-id-2.scrollable {
  overflow-y: scroll;
}
.page-id-2 #main-content {
  background: none !important;
  position: relative;
  z-index: 99;
}
.page-id-2 #et-main-area, .page-id-2 #main-content {
  background: none;
}
.page-id-2 #front {
  position: relative;
  background: none !important;
}
.intro-animation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  background: #A0BFD0 !important;
  text-align: center;
  height: 100vh;
  display: grid;
  align-content: center;
}
.intro-animation video {
  width: 70%;
  margin: auto;
}
.intro-animation.hide {
  top: -100vh;
}
.page-id-2 #transition-overlay.start {
  display: none !important;
}
#front h1 {
  position: relative;
  transform-style: preserve-3d;
  transform-origin: 30% 50%;
            opacity: 0;
            position: relative;
            left: 100px;
        }
        
        @keyframes rotate3D {
            0% {
                transform: rotateY(90deg);
                opacity: 0;
                left: 100px;
            }
            50% {
                opacity: 1;
            }
            100% {
                transform: rotateY(0deg);
                opacity: 1;
                left: 0;
            }
        }

#front.shown h1, #front.shown .scroll-text {
  opacity: 1;
  bottom: 0;
}
#front .front-video-front {
  width: 100vw !important;
  height: 100vh !important;
  position: absolute !important;
  bottom: -30vh !important;
}
.front-video-new, .front-video-new-long {
  position: absolute;
  left: 0 !important;
  right: 0 !important;
  top: 120px !important;
  bottom: 0 !important;
  z-index: 9999999999999 !important;
  width: 100% !important;
  text-align: center;
}
.front-video-new-long {
  display: none;
  z-index: 99 !important;
}
.team-member-image .et_pb_button_module_wrapper {
  position: absolute;
  bottom: 100px !important;
  left: 70px !important;
}
.front-video-new.index {
  z-index: 99 !important;
}
.front-video-new video, .front-video-new-long video {
  max-width: 80%;
  margin: auto;
  margin-top: -120px;
}
/* Front */
.front-video {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  width: 40% !important;
  bottom: 100px !important;
  z-index: 0 !important;
}
#front video {
  width: 100vw !important;
  height: 100vh !important;
  margin-top: -15vh !important;
}
#height video {
  width: 50vw !important;
  height: 50vw !important;
  position: relative !important;
  top: 3vw !important;
  right: -48vw !important;
}
#front .mejs-mediaelement {
  text-align: center;
}
#front {
  height: calc(100vh - 120px);
  overflow: hidden;
  display: grid;
  align-content: end;
  padding-bottom: 50px !important;
}
#front h1 {
  padding-bottom: 0 !important;
  font-size: 6vw;
  letter-spacing: -.2vw;
  width: 70%;
}
#numbers .percent-value {
  font-size: 6vw !important;
  letter-spacing: -.2vw;
}
.scroll-text {
  position: absolute;
  right: 0;
  bottom: 0px;
}
.scroll-text::before {
  display: block;
  content: "";
  width: 1px;
  height: 30px;
  background: #131E24;
  margin-bottom: 5px;
  margin-left: auto;
  margin-right: auto;
  transform-origin: bottom center;
  transition: transform 0.25s cubic-bezier(0.80, 0, 0.20, 1) 0s !important;
  transform: scaleY(0);
  animation: scrollLine 2.5s infinite cubic-bezier(0.80, 0, 0.20, 1) 0s !important;
}

@keyframes scrollLine {
  10% {
    transform-origin: top;
    transform: scaleY(0);
  }
  50% {
    transform-origin: top;
    transform: scaleY(1);
  }
  51% {
    transform-origin: bottom;
    transform: scaleY(1);
  }
  90% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(0); /* Ensures the pause */
  }
}

.video-hover {
  position: absolute;
  top: 0;
  z-index: 99;
  opacity: 0;
}

#services .et_clickable:hover .video-hover {
  opacity: 1;
}

.service .align-end {
  display: grid;
  align-content: end;
  padding: 30px !important;
  min-height: 70vh !important;
}

.error-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 200px;
}

.align-center {
  display: grid;
  align-content: center;
  padding-right: 15%;
}

.medium-text, .medium-text *, h4, #main-content h4, .investment-item-list * {
  font-size: 22px;
  line-height: 26px;
  letter-spacing: -.5px;
}

.pre-headline .et_pb_text_inner::before, #main-content .pre-headline.light-icon .et_pb_text_inner::before {
  background: url('https://rubikproperties.dk/wp-content/uploads/2025/02/pre-headline.svg');
  display: inline-block;
  content: "";
  width: 14px;
  height: 17px;
  background-size: cover !important;
  margin-right: 13px;
  position: relative;
  top: 3px;
}

.pre-headline.et_pb_bg_layout_light .et_pb_text_inner::before {
  background: url('https://rubikproperties.dk/wp-content/uploads/2025/02/pre-headline-dark.svg');
}

#services .et_pb_image::after {
  display: block;
  content: "01";
  width: 40px;
  height: 40px;
  text-align: center;
  background: #E9E8E6;
  line-height: 40px;
  font-size: 13px;
  margin-top: 10px;
  transition: 0.5s cubic-bezier(0.80, 0, 0.20, 1) 0s !important;
}

#services .et_pb_column:nth-child(2) .et_pb_image::after {
  content: "02";
}

#services .et_pb_column:nth-child(3) .et_pb_image::after {
  content: "03";
}

#services .desc-text {
  opacity: .6;
}

#services .et_clickable:hover .et_pb_image::after {
  background: #A0BFD0;
  color: #F8F8F7;
}

#services .et_clickable img, .investment-item img, .team-image img {
  transition: 0.5s cubic-bezier(0.80, 0, 0.20, 1) 0s !important;
}

#services .et_clickable:hover img, .investment-item a:hover img, .team-member:hover .team-image img {
  transform: scale(1.05);
}
.et_pb_image .et_pb_image_wrap {
  overflow: hidden;
}
.marquee .slick-slide, .clients-logos .slider-item {
  height: 150px;
  width: 250px;
  margin: 0 12px;
  display: grid;
  align-content: center;
  text-align: center;
}
.marquee .slick-slide img, .clients-logos .slider-item img {
  max-width: 80%;
  max-height: 70px;
  height: auto; /* Ensures aspect ratio is maintained */
  width: auto;  /* Ensures aspect ratio is maintained */
  display: block;
  margin: auto;
}
.investment-item a {
  margin-bottom: -5px;
  display: inline-block;
}
.investment-image img {
  margin-bottom: -5px;
}
.investment-image-inner {
  position: relative;
  bottom: 5px;
  overflow: hidden;
}
.investment-image-inner img {
  width: 100% !important;
}
.investment-item {
  display: inline-block;
  width: 31.3333%;
  margin-right: 3%;
  margin-bottom: 3% !important;
  vertical-align: top;
}
.investment-item:nth-child(3n) {
  margin-right: 0;
}
.investment-meta * {
  color: #F8F8F7;
  padding-bottom: 0 !important;
  
}
.investment-item-list:hover {
  background: #A0BFD0 !important;
}
.investment-item-list:hover * {
  color: #F8F8F7 !important;
}
.investment-meta {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  padding: 60px 30px 30px;
  background: rgb(19,30,36);
background: linear-gradient(0deg, rgba(19,30,36,0.8015800070028012) 0%, rgba(0,0,0,0) 100%);
}
.investment-list-list .investment-column:last-child::after {
  display: block;
  content: "";
  background: url('https://rubikproperties.dk/wp-content/uploads/2025/02/cube-icon.svg');
    background-size: auto;
  background-size: auto;
  width: 15px;
  height: 15px;
  background-size: cover !important;
  position: absolute;
  right: 0px;
  opacity: 0 !important;
  top: 5px;
  margin: 0 !important;
  animation: rotateBox 6s ease-in-out infinite alternate;
}
@keyframes rotateBox {
  0% {
      transform: rotate(0deg);
  }
  40% {
      transform: rotate(50deg);
  }
  70% {
    transform: rotate(130deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.investment-item-list:hover .investment-column:last-child::after {
  opacity: 1 !important;
}
.investment-meta-notclickable {
  position: relative;
  margin-top: 3px;
}
.investment-meta-notclickable * {
  padding-bottom: 0 !important;
  font-size: 15px !important;
  line-height: 1.4em !important;
  letter-spacing: 0 !important;
}
.investment-meta-notclickable p.investment-taxonomies {
  opacity: .4 !important;
}
.investment-meta-notclickable .year {
  position: absolute;
  right: 0;
  top: 0;
}
.investment-meta h4 {
  padding-bottom: 5px !important;
}
p.investment-taxonomies {
  opacity: .8;
}
.investment-image {
  position: relative;
}
.investment-image-inner p.et_pb_button {
  position: absolute;
  background: #F8F8F7 !important;
  top: -50px;
  left: 30px;
  transition: 0.5s cubic-bezier(0.80, 0, 0.20, 1) 0s !important;
  z-index: 9;
  font-size: 15px !important;
}
.investment-item a:hover p.et_pb_button {
  top: 30px;
}
.investment-list-list .investment-column {
  display: inline-block;
  position: relative;
  width: 27%;
}
.investment-list-list .investment-column:first-child {
  width: 10%;
}
.investment-list-list .investment-column:nth-child(2) {
  width: 35%;
}
.investment-column.small-text {
  margin-bottom: 30px;
}
.investment-item-list a .investment-column {
  text-decoration: underline;
}
.investment-item-list {
  padding: 5px 0;
}
#investments-list {
  display: none;
}
.venues-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-image: url("/img/venue-1.jpg");
}
.venues-img-wrap {
  width: 15.4vw;
  position: fixed;
  top: -11.5vw;
  left: -7.8vw;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  padding-bottom: 20vw;
  z-index: 99999;
}
.et_pb_button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.et_pb_button .first-text,
.et_pb_button .second-text {
  display: inline-block;
  transition: 0.3s cubic-bezier(0.80, 0, 0.20, 1) 0s !important;
}
.et_pb_number_counter .percent {
  height: inherit;
  text-align: left;
}
#numbers .percent p {
  color: #131E24 !important;
}
.light-numbers #numbers .percent p, #et-boc .light-numbers #numbers .percent p {
  color: #F8F8F7 !important;
}
#numbers .et_pb_number_counter.billion .percent-value::before, #numbers .et_pb_number_counter.billion-two .percent-value::before {
  display: inline-block !important;
  content: "€";
}
#numbers .et_pb_number_counter.billion .percent-value::after {
  content: "bn.";
  margin-left: 15px !important;
}
#numbers .et_pb_number_counter.billion-two .percent-value::after {
  content: "bn.";
  margin-left: 15px !important;
}
#numbers .et_pb_number_counter.plus .percent-value::after {
  content: "+";
}
#numbers .et_pb_number_counter.k .percent-value::after {
  display: inline-block;
  content: "k";
}
#numbers .et_pb_column {
  padding-left: 30px;
  border-left: 1px solid rgba(19,30,36,.2);
}
.light-numbers #numbers .et_pb_column {
  border-left: 1px solid rgba(255,255,255,.2);
}
#numbers .et_pb_text_inner {
  margin-bottom: 150px;
}

/* Default state */
.et_pb_button .first-text {
  opacity: 1;
  transform: translateY(0);
}

.et_pb_button .second-text {
  opacity: 1;
  transform: translateY(20px);
  position: absolute;
  left: 0;
  right: 0;
}

/* Hover effect */
.et_pb_button:hover .first-text {
  opacity: 1;
  transform: translateY(-20px);
}

.et_pb_button:hover .second-text {
  opacity: 1;
  transform: translateY(0);
}
.button-inner {
  overflow: hidden;
  position: relative;
}
.height-100 {
  height: calc(100vh - 120px);
}
.overlay-video .et_pb_section_video_bg::before {
  display: block;
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9;
}
.error-text a {
  color: white !important;
}
.overlay-video .et_pb_row {
  z-index: 99;
}
.team-member {
  display: inline-block;
  vertical-align: top;
  margin-right: 1.3%;
  width: 24%;
  cursor: pointer;
}
#team-all .team-member {
  margin-left: 0.5% !important;
  margin-right: 0.5% !important;
}
#team-all .team-partners {
  margin-left: -0.5% !important;
}
.page-id-16 .team-member {
  margin-bottom: 50px !important;
}
.team-member:nth-child(4n) {
  margin-right: 0;
}
.team-title {
  margin-top: 8px;
  padding-bottom: 0;
}
.team-position {
  opacity: .5;
}
.team-image {
  overflow: hidden;
}
.team-image img {
  display: block;
}
.team-modal, .header-modal, .team-modal-all {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: none;
  z-index: 9999999999999;
  background: rgba(255,255,255,0.2);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  width: 100vw;
}
.team-modal-inner {
  position: fixed;
  bottom: -600px;
  right: 0;
  left: 0;
  background: #131E24;
  padding: 50px 0;
  transition: .8s cubic-bezier(0.80, 0, 0.20, 1) 0s !important;
}
.team-modal-inner.visible {
  bottom: 0;
}
.team-modal-inner * {
  color: #F8F8F7;
}
.team-modal-inner .column {
  display: inline-block;
  width: 17.5%;
  margin-right: 5%;
  vertical-align: top;;
}
.team-modal-inner .column:nth-child(3) {
  width: 37.5%;
  margin-right: 0;
}
.team-modal-inner .column:nth-child(4) {
  margin-right: 0;
  text-align: right;
  width: 16%;
}
.team-member-image {
  cursor: pointer;
}
.team-modal-all .team-member {
  width: 20%;
}
.team-modal-all .team-image-all {
  margin-bottom: 15px !important;
}
.team-modal p {
  padding-bottom: 0;
}
.team-modal a {
  text-decoration: underline;
}
.team-modal-all .et_pb_row {
  width: 100% !important;
  max-width: 100% !important;
  opacity: 1 !important;
  transition: none !important;
  padding: 0 !important;
}
p#modal-position, .team-modal-all p.position {
  padding-bottom: 1.4em !important;
}
.team-modal-all .column {
  position: absolute;
  right: 0;
  top: 0;
  margin-right: 0 !important;
  text-align: right;
  width: 15% !important;
}
p.close-modal {
  text-decoration: underline;
  cursor: pointer;
  display: inline-block;
}

/* Single Investment */
.single-investments #main-content .container {
  padding-top: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.single-investments #page-container {
  padding-top: 0 !important;
}
.single-investments #height .et_pb_column {
  display: grid;
  align-content: end !important;
  padding-bottom: 50px !important;
  bottom: 0 !important;
}
.single-investments #height {
  padding-top: 0 !important;
}
.single-investment-info p, .single-investments #height h1 {
  padding-bottom: 0 !important;
}
.single .et_pb_post {
  margin-bottom: 0 !important;
}
.single-investments #left-area {
  padding-bottom: 0 !important;
}
#investment-gallery {
  width: 96.25% !important;
}
body {
  overflow-x: hidden;
}
#investment-gallery .slick-slide {
  margin-right: 30px;
}
.investment-gallery {
  position: relative;
}
#investment-gallery .slick-prev, #investment-gallery .slick-next {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
  width: 45%;
  opacity: 0;
  bottom: 0;
  height: 100%;
  transform: none !important;
}
#investment-gallery .slick-next {
  left: 45%;
  width: 100% !important;
}
#investment-gallery .slick-prev:hover {
  cursor: url('https://rubikproperties.dk/wp-content/uploads/2025/02/pointer.png'), auto !important;
}
#investment-gallery .slick-next:hover {
  cursor: url('https://rubikproperties.dk/wp-content/uploads/2025/02/pointer-right.png'), auto !important;
}
.video-background video {
  width: 50vw !important;
  opacity: .1;
  position: absolute;
  right: -25vw;
  top: 0;
  height: inherit !important;
}
.video-background.small video {
  width: 25vw !important;
  right: -12.5vw !important;
}
.pre-headline p {
  display: inline-block;
}

/* Clients */
#height .et_pb_section_video_bg {
  width: 50%;
  right: 0;
  left: inherit;
  opacity: .05;
}
#height, #height .et_pb_row {
  height: 100vh !important;
  padding: 0 !important;
}
#height .et_pb_row {
  display: grid;
  align-content: center;
}
#height {
  padding-top: 60px !important;
}
#height .et_pb_text_2.medium-text {
  width: 80% !important;
}
#page-container.light-header {
  padding-top: 0 !important;
}
.light-header .header-time span {
  color: #F8F8F7 !important;
}
.light-header .header-menu span.line {
  background: #F8F8F7 !important;
}
.light-header #main-header.show-header {
  background: none !important;
}
#page-container.light-header #main-header.invert img#logo, #page-container.light-header #main-header.invert .header-time span, #page-container.light-header #main-header.invert .header-menu span.line {
  filter: invert(100%) !important;
}
.clients-logos .slider-item img {
  max-width: 70%;
  max-height: 80px;
}
.slider-item-inner {
  width: 24.25% !important;
  margin-right: 1% !important;
  display: inline-block !important;
  margin-bottom: 1% !important;
  vertical-align: top;
  height: 300px;
}
.slider-item-inner:nth-child(4n) {
  margin-right: 0 !important;
}
.clients-logos .slider-item {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border: none !important;
  position: relative;
}
.clients-logos .slider-hover {
  position: absolute;
  background: #A0BFD0;
  top: 30px;
  left: 0;
  right: 0;
  bottom: -30px;
  padding: 20px;
  text-align: left;
  opacity: 0;
  transition: .2s cubic-bezier(0.80, 0, 0.20, 1) 0s !important;
}
.clients-logos .slider-item:hover .slider-hover {
  opacity: 1;
  top: 0;
  bottom: 0;
}
.slider-hover p {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
}
.et_pb_video_play::before {
  content: "" !important;
  background: url('https://rubikproperties.dk/wp-content/uploads/2025/03/play.png') !important;
    background-size: auto;
  background-size: cover !important;
  width: 12px;
  height: 14px;
  display: inline-block;
}
.page-id-21 #footer-contact .outline-btn {
  display: none !important;
}

/* Services */
#page-container .white-btn.service-btn {
  background: #F8F8F7 !important;
  padding: 10px 32px 10px 50px !important;
  position: absolute;
  top: 30px;
  left: 30px;
}
#investment.service .et_pb_column_2_5.align-end .et_pb_button_module_wrapper, #asset.service .et_pb_column_2_5.align-end .et_pb_button_module_wrapper {
  position: static;
}
.service .services-text {
  position: absolute;
  bottom: 0;
  column-count: 2;
  column-gap: 60px;
}
.about-text {
  position: absolute;
  bottom: 0;
  max-width: 70%;
}
.text-two-columns {
  column-count: 2;
  column-gap: 60px;
}
.service .investment-item {
  width: 100% !important;
  margin-right: 0 !important;
}
.et_pb_section.service {
  width: calc(100% - 80px) !important;
  margin: 40px auto 0 !important;
}
#main-content .et_pb_section.service:last-child {
  margin-bottom: 40px !important;
}

/* Team */
.team-filter {
  margin-bottom: 80px;
}
.team-filter button {
  border: none !important;
  text-transform: uppercase;
  font-size: 14px;
  background: none;
  margin-right: 50px;
  cursor: pointer;
  padding: 0 !important;
  opacity: .3;
  transition: .2s ease-in-out !important;
}
.team-filter button::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: none;
  border: 1px solid #131E24;
  content: "";
  position: relative;
  top: -1px;
  margin-right: 10px;
  transition: .2s ease-in-out !important;
}
.team-filter button.active, .team-filter button:hover {
  opacity: 1;
}
.team-filter button.active::before, .team-filter button:hover::before {
  background: #131e24;
}

/* Contact */
#main-content .contact-columns .et_pb_column:first-child {
  width: 30%;
  padding-right: 50px;
}
#main-content .contact-columns .et_pb_column {
  width: 24.5%;
}
#main-content .contact-columns .et_pb_column:last-child {
  width: 12%;
}
.contact-columns a {
  transition: .2s ease-in-out !important;
}
.contact-columns a:hover {
  color: #A0BFD0 !important;
}

/* Approach */
.page-id-14 {
  background: #131e24 !important;
}
#approach-first {
  height: 150vh;
  padding: 0 !important;
}
.approach-first-row {
  height: 100vh;
  display: grid;
  align-content: center;
  position: sticky !important;
  top: 0;
  padding: 0 !important;
}
#approach, #contact {
  height: 100vh;
  display: grid;
  align-content: center;
}
#approach video {
  max-height: 100vh;
}
#specialised {
  height: 110vh;
}
#specialised .et_pb_row {
  position: sticky;
  top: 80px;
}
.page-id-14 #main-header, .page-id-14 #main-header.et-fixed-header {
  position: fixed !important;
}
#track {
  min-height: 100vh;
  display: grid;
  align-content: space-between;
  padding-top: 50vh;
  padding-bottom: 50vh;
}
#empty {
  height: 70vh;
}
.page-id-14 #numbers .et_pb_column {
  background: #A0BFD0 !important;
  border-left: none !important;
  padding-top: 30px;
  padding-bottom: 30px;
  width: 24.5% !important;
  margin-right: .5% !important;
}
.page-id-14 #numbers .et_pb_column:nth-child(4n) {
  margin-right: 0 !important;
}
#height .know-how .align-center {
  margin-top: -20vh !important;
}
.our-team {
  position: sticky;
  top: 30vh;
}
#team {
  height: 300vh;
}
#team .image-row {
  position: absolute;
  top: 100vh;
  left: 0;
  right: 0;
}
#team .image-row .et_pb_column {
  width: 20%;
}
#team .image-row .et_pb_column:first-child {
  width: 30%;
}
#team .image-row .et_pb_column:last-child {
  width: 30%;
  padding-left: 3%;
  bottom: -10vw;
}
#team .image-row .et_pb_column:nth-child(2) {
  bottom: -30vw;
  left: 50px;
  width: 17%;
}
#team .image-row .et_pb_column:nth-child(3) {
  top: -30vw;
  left: -50px;
  width: 17%;
}
.extremely-large, .extremely-large * {
  font-size: 10vw !important;
  letter-spacing: -1% !important;
}
#approach.services {
  height: 200vh;
}
#background-shift, #background-shift-1, #background-shift-2 {
  height: 150vh;
  background-color: #131e24;
  transition: background-color 0.2s linear;
}
#background-shift-white, #background-shift-white-1, #background-shift-white-2 {
  height: 200vh;
  background-color: #F8F8F7;
  transition: background-color 0.2s linear;
}
.page-id-14 #main-content .et_pb_section {
  background: none !important;
}
.page-id-14 #main-content {
  background: #131e24 !important;
  transition: .5s ease-in-out !important;
}
.page-id-14 #main-content.white-bg {
  background: #F8F8F7 !important;
}
.page-id-14 #footer-contact {
  display: none !important;
}
.page-id-14 .navigation {
  color: #F8F8F7 !important;
  position: fixed;
  top: -100px;
  padding: 20px 0;
  width: 100%;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 1800px;
  width: 92.5%;
  transition: .6s ease-in-out;
}
.page-id-14 #main-content.white-bg .navigation {
  color: #131e24 !important;
}
.page-id-14 .navigation.visible {
  top: 0;
}
.page-id-14 .navigation .list {
  display: inline-block;
  margin-right: 7px;
  opacity: .3;
  transition: .1s ease-in-out;
}
.page-id-14 .navigation .list.active {
  opacity: 1;
}
.page-id-14 .navigation .list-desc {
  display: inline-block;
  padding-left: 10%;
  position: absolute;
  top: 0;
  opacity: 0;
  transition: .1s ease-in-out;
}
.page-id-14 .navigation .list-desc.active {
  top: 20px;
  opacity: 1;
}
.page-id-14 .navigation .list-image {
  display: inline-block;
  float: right;
  filter: invert(100%);
  transition: .6s ease-in-out;
}
.page-id-14 #main-content.white-bg .navigation .list-image {
  filter: invert(0%) !important;
}
.et_pb_bg_layout_dark, .et_pb_bg_layout_dark h1, .et_pb_bg_layout_dark h2, .et_pb_bg_layout_dark h3, .et_pb_bg_layout_dark h4, .et_pb_bg_layout_dark h5, .et_pb_bg_layout_dark h6 {
  color: #F8F8F7 !important;
}
.height-70 {
  height: 70vh !important;
}

/* Approach New */
#height.approach .et_pb_row {
  display: inherit !important;
}
#height.approach video {
  width: inherit !important;
  height: inherit !important;
  position: inherit !important;
  top: inherit !important;
  right: inherit !important;
  transform: scale(1.5);
  top: 4vw !important;;
}

/* About */
.et_pb_video_play {
  background: #A0BFD0 !important;
  width: 180px !important;
  height: 45px !important;
  font-size: 15px !important;
  line-height: 44px !important;
  text-transform: uppercase;
  text-align: center;
}
.et_pb_video_play::before {
  font-family: ETmodules;
  content: "I";
  font-size: 18px;
  line-height: 18px;
  margin-right: 15px;
  position: relative;
  top: 2px !important;
}
.et_pb_video_play::after {
  display: inline-block;
  content: "Play video";
}

/* Career */
.position-item div.position {
  display: inline-block;
  width: 29%;
  vertical-align: middle;
}
.position-item div.position.apply  {
  width: 13%;
  text-align: right;
}
.position-item {
  padding: 15px 0;
  border-bottom: 1px solid #131E24;
}
.position-item.position-header {
  padding-bottom: 7px !important;
}
.position-header * {
  font-size: 14px;
}
.position-item div.position.apply * {
  font-size: 15px !important;
}

/* Press Kit */
#small-numbers h3.title {
  font-size: 15px !important;
  letter-spacing: 0px !important;
  text-align: left !important;
}
#small-numbers .et_pb_number_counter::before {
  position: absolute;
  top: 28px;
}
#small-numbers .et_pb_number_counter {
  text-align: left;
  height: inherit !important;
  margin-bottom: 0 !important;
  padding: 5px 0 10px !important;
  border-bottom: 1px solid #131E24;;
}
#small-numbers .et_pb_number_counter.border-top {
  border-top: 1px solid #131E24;;
}
#small-numbers .et_pb_number_counter div.percent {
  text-align: right;
}
#small-numbers h3.title, #small-numbers div.percent {
  width: 100%;
}
#small-numbers .et_pb_number_counter .percent p span {
  color: #131E24 !important;
  font-size: 50px !important;
}
#small-numbers .et_pb_number_counter .percent p {
  font-size: 60px !important;
  line-height: 60px !important;
}
.annual-report {
  width: 49%;
  margin-right: 2%;
  margin-bottom: 30px;
  display: inline-block;
  vertical-align: top;
  background: rgba(160,191,208,.1);
  padding: 20px;
  position: relative;
}
.annual-report:nth-child(2n) {
  margin-right: 0;
}
p.report-title {
  margin-bottom: 120px;
  max-width: 220px;
}
.press-release p.report-title {
  max-width: 60%;
}
.file-info {
  opacity: .5;
  font-size: 13px;
}
.annual-report .download-button {
  position: absolute;
  right: 20px;
  bottom: 20px;
}
.file-info span {
  margin-right: 30px;
}
.medium-text li {
  margin-bottom: 20px !important;
}
/* Footer */
#footer-contact {
  background: url('https://rubikproperties.dk/wp-content/uploads/2025/03/Contact.jpg') !important;
  height: 70vh;
  display: grid;
  align-content: center;
  background-size: cover !important;
  background-position: bottom center !important;
  position: relative;
}
.page-id-27 #footer-contact, .page-id-23 #footer-contact {
  background: url('https://rubikproperties.dk/wp-content/uploads/2025/03/contact-2-scaled.jpg') !important;
  background-size: cover !important;
}
#footer-contact * {
  color: #F8F8F7 !important;
  z-index: 9;
}
#footer-contact p {
  max-width: 30%;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: -.5px;
  margin: 35px 0 50px;
}
#footer-contact::before {
  display: block;
  content: "";
  background: rgba(0,0,0,.4);
  z-index: 1;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
#footer-widgets {
  padding: 3% 0 0;
}
.et_pb_gutters3.et_pb_footer_columns3 .footer-widget:nth-child(1) {
  width: 50% !important;
}
.et_pb_gutters3.et_pb_footer_columns3 .footer-widget {
  width: 24.75% !important;
  margin-right: 0 !important;
  margin-bottom: 50px !important;
}
#footer-widgets .footer-widget li {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}
#footer-widgets .footer-widget li::before { 
  display: none !important;
}
#footer-widgets img {
  margin-left: -25px;
}
#footer-bottom {
  background: none !important;
}
#footer-bottom .footer-column {
  display: inline-block;
  vertical-align: bottom;
  font-size: 13px;
  line-height: 17px;
  width: 24.75% !important;
  padding-bottom: 15px;
}
#footer-bottom .footer-column:first-child {
  width: 50% !important;
  padding-left: 90px;
}
#footer-widgets .footer-widget a:hover {
  opacity: .3;
}


/* Mobile */
@media only screen and (max-width: 1000px) { 
  /* Header */
  #main-header, #main-header.show-header, #main-header.hide-header {
    position: fixed !important;
    top: 0 !important;
    background: none !important;
  }
  .light-header #main-header, .light-header #main-header.show-header, .light-header #main-header.hide-header {
    position: fixed !important;
    top: 0 !important;
    background: none !important;
  }
  .header-time {
    display: none !important;
  }
  .et_pb_svg_logo #logo {
    height: 60% !important;
  }
  #main-header, #main-header.et-fixed-header, .logo_container {
    height: 90px !important;
  }
  .header-modal-inner {
    width: 100vw;
    right: -100vw;
    padding-top: 100px !important;
  }
  #menu-main li a {
    font-size: 42px !important;
    line-height: 46px !important;
    letter-spacing: -1px;
  }
  .header-modal-inner #menu-main li {
    margin-bottom: 3px;
  }
  #menu-main li:last-child {
    /* padding-top: 50px; */
  }
  .header-bottom .column:first-child {
    display: none;
  }
  .header-bottom .column {
    width: 100%;
    text-align: left !important;
  }
  .header-bottom #inner-menu li {
    margin-left: 0;
    margin-right: 15px;
  }
  .header-menu {
    padding-top: 13px;
  }

  /* Front */
  #front, .height-100, #height, #height .et_pb_row {
    min-height: 70vh !important;
    height: inherit !important;
  }
  .page-id-2 #front {
    padding-bottom: 80px !important;
  }
  .front-video-new video, .front-video-new-long video {
    max-width: 200%;
    margin: auto;
    margin-top: 0%;
    margin-left: -50%;
  }
  #height .et_pb_section_video_bg {
    width: 120%;
    right: -60%;
  }
  h2, .largest-text, .largest-text *, .almost-largest-text, .almost-largest-text * {
    font-size: 36px !important;
    line-height: 40px !important;
    letter-spacing: -1px;
  }
  .larger-text, .larger-text * {
    font-size: 22px !important;
    line-height: 24px !important;
    letter-spacing: -.5px !important;
  }
  .medium-text, .medium-text *, h4, #main-content h4, .investment-item-list * {
    font-size: 20px !important;
    line-height: 24px !important;
    letter-spacing: -.5px !important;
  }
  #front h1 {
    font-size: 52px !important;
  }
  #front video {
    width: 700px !important;
    height: 500px !important;
  }
  .marquee .slick-slide, .clients-logos .slider-item {
    width: 150px;
  }
  .marquee .slick-slide img, .clients-logos .slider-item img {
    max-height: 60px;
  }
  .specialised .et_pb_text {
    width: 100% !important;
  }
  #main-content .overlay-video {
    height: 75vh !important;
    min-height: 75vh !important;
    padding: 30px 0 0 !important;
    display: grid;
    align-content: start !important;
  }
  #main-content .overlay-video .et_pb_row {
    padding: 0 0 30px !important;
  }
  .page-id-18 #main-content .overlay-video {
    height: 45vh !important;
    min-height: 45vh !important;
  }
  .page-id-18 #main-content .overlay-video .et_pb_row {
    padding: 0 !important;
  }
  .team-modal-inner {
    padding: 45px 0 50px;
  }
  .align-center {
    padding-right: 5%;
  }
  #main-content .overlay-video .et_pb_row .et_pb_text {
    width: 100% !important;
  }
  .specialised {
    padding-left: 15%;
    padding-bottom: 0 !important;
  }
  .video-background video {
    display: none !important;
  }
  .specialised .et_pb_column {
    margin-bottom: 15px !important;
  }
  .pre-headline, .pre-headline *, #numbers .et_pb_text_inner, #numbers .et_pb_text_inner * {
    font-size: 18px !important;
  }
  .pre-headline .et_pb_text_inner::before, #main-content .pre-headline.light-icon .et_pb_text_inner::before { 
    top: 2px;
  }
  #services .et_pb_image .et_pb_image_wrap {
    max-height: 300px;
  }
  #services .et_pb_image::after {
    width: 50px;
    height: 50px;
    background: #A0BFD0;
    line-height: 50px;
    color: #F8F8F7;
    font-size: 15px;
    margin-top: -50px;
    z-index: 9;
    position: relative;
  }
  #services .et_pb_column .et_pb_module {
    margin-bottom: 20px !important;
  }
  #services .et_pb_column {
    margin-bottom: 50px !important;
  }
  .et_pb_button_module_wrapper.et_pb_button_alignment_right {
    text-align: left !important;
  }
  .investment-item {
    width: 100% !important;
    margin-right: 0 !important;
  }
  .investment-item:nth-child(n+4) {
    width: 48% !important;
    margin-right: 4% !important;
  }
  .investment-item:nth-child(odd):nth-child(n+5) {
    margin-right: 0% !important;
  }
  #main-content .investment-meta-notclickable h4 {
    margin-bottom: 5px;
  }
  .investment-meta-notclickable .year {
    position: relative;
    margin-bottom: 10px;
  }
  #main-content .investment-meta-notclickable p {
    font-size: 13px !important;
  }
  
  .investment-image-inner p.et_pb_button {
    top: 30px !important;
  }
  #numbers .et_pb_text_inner {
    margin-bottom: 150px;
  }
  #numbers .percent-value {
    font-size: 100px !important;
    letter-spacing: -2px;
  }
  #numbers .et_pb_column {
    padding-left: 20px;
    border-left: 1px solid rgba(19,30,36,.2);
    margin-bottom: 100px !important;
  }
  #numbers .et_pb_column:last-child {
    margin-bottom: 0 !important;
  }
  .team-member {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 50px;
  }
  .team-member p {
    font-size: 14px;
    line-height: 17px;
  }
  .team-member:nth-child(2n) {
    margin-right: 0% !important;
  }
  h1, h2, h3, h4, h5, h6, .et_quote_content blockquote p, .et_pb_slide_description .et_pb_slide_title {
    letter-spacing: -1px !important;
  }
  .team-modal-inner .column:nth-child(3) {
    display: none;
  }
  .team-modal-inner .column {
    width: 46%;
  }
  .team-modal-inner .column:nth-child(4) {
    position: absolute;
    bottom: 0;
    right: 10px;
  }
  .team-modal-inner .column:nth-child(2) {
    margin-right: 0 !important;
    z-index: 999;
  }
  .team-modal p {
    font-size: 13px !important;
  line-height: 18px;
  }

  /* Services */
  #services h4 {
    padding-bottom: 0 !important;
  }
  #height .pre-headline {
    margin-bottom: 20px !important;
  }
  .service .pre-headline {
    margin-bottom: 40px !important;
  }
  .service .services-text {
    position: static;
    column-count: 1;
    margin-bottom: 50px !important;
  }
  #main-content .service .et_pb_image {
    width: 100% !important;
  }
  #height video {
    width: 130vw !important;
    height: 130vw !important;
    top: 20vw !important;
    left: 20vw !important;
  }
  #main-content .et_pb_section.service {
    width: 100% !important;
    margin: 15px auto 30px !important;
    padding-bottom: 55px !important;
  }
  .et_pb_section.service .et_pb_row:nth-child(1) {
    padding-top: 0 !important;
  }
  .page-id-9 #main-content .et_pb_section.service:last-child {
    margin-bottom: 0 !important;
  }

  /* Investments */
  .team-filter {
    display: none;
    margin-left: 3px;
  }
  .team-filter button {
    margin-right: 10px;
    color: black !important;
  }
  .investment-meta-notclickable {
    margin-bottom: 50px;
  }
  .single-investments #height .et_pb_row {
    display: grid;
    align-content: end !important;
  }
  .single-investments #main-header {
    background: none !important;
  }
  #investment-gallery .slick-prev, #investment-gallery .slick-next {
    display: none !important;
  }
  #investment-gallery .slick-slide {
    margin-right: 15px !important;
  }
  .single-investments.et-db #et-boc .et-l .et_pb_text_2 {
    margin-bottom: 35px !important;
  }
  .single-investments #main-content .et_pb_section_1 .et_pb_row_1 {
    padding-top: 0 !important;
  }
  #video .et_pb_row_1 {
    padding-top: 0 !important;
  }
  .specialised-row {
    margin-bottom: 30px !important;
  }
  .specialised-row:last-child {
    margin-bottom: 0 !important;
  }
  p.report-title {
    font-size: 16px !important;
  line-height: 20px !important;
  margin-bottom: 80px !important;
  }
  .mobile-filter {
    display: block !important;
    margin-left: 3px;
    margin-bottom: 30px;
  }
  .mobile-filter::after {
    display: inline-block;
    content: "+";
    margin-left: 10px;
  }
  .mobile-filter.active::after {
    content: "-";
  }

  /* Clients */
  .slider-item-inner {
    width: 50% !important;
    margin-right: 0 !important;
    display: inline-block !important;
    margin-bottom: 1% !important;
    vertical-align: top;
    height: 150px;
  }
  .clients-logos .slider-hover {
    display: none !important;
  }

  #height .medium-text {
    width: 100% !important;
  }

  /* About */
  .menu-video {
    top: 0 !important;
  }
  .et_pb_video_play {
    left: 31% !important;
  }
  .text-two-columns {
    column-count: 1;
  }
  .about-text {
    position: static;
    max-width: 100%;
  }
  .page-id-18 #asset {
    padding-bottom: 15px !important;
  }

  /* Policies */
  .page-id-3 .et_pb_button .second-text {
    display: none !important;
  }
  .page-id-3 .et_pb_button:hover .first-text {
    opacity: 1;
    transform: none !important;
  }
  #height.et_pb_section_0 .medium-text {
    width: 100% !important;
  }

  /* Career */
  .position-item * {
    font-size: 15px !important;
    line-height: 20px !important;
  }
  #main-content .position-header * {
    font-size: 12px !important;
  }
  #page-container .position a.et_pb_button.normal-btn::after {
    top: 14px;
  }
  .position-item div.position {
    width: 33%;
    vertical-align: top;
  }
  .position-item div.position.apply {
    width: 100%;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 50px;
  }

  /* Press kit */
  #small-numbers .et_pb_column {
    margin-bottom: 0 !important;
  }
  #small-numbers .et_pb_number_counter_4.border-top {
    border-top: none !important;
  }
  .annual-report .download-button {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
  }
  .file-info span {
    margin-right: 0;
    display: block;
  }
  .annual-report {
    padding-bottom: 60px !important;
  }
  .press-release p.report-title {
    max-width: 100%;
  }
  
  /* Contact */
  .page-id-21 .et_pb_column_1_4 .et_pb_text_align_right {
    text-align: left !important;
  }
  #terms .et_pb_row {
    padding-bottom: 50px !important;
  }
  #height.approach .et_pb_column.et-last-child {
    display: none !important;
  }
  #team-all .team-member {
    margin-left: 2% !important;
    width: 46% !important;
    margin-right: 2% !important;
  }
  #team-all .team-partners {
    margin-left: -1% !important;
  }
  #team-all {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .team-member-image .et_pb_button_module_wrapper {
    position: absolute;
    bottom: 40px !important;
    left: 15px !important;
  }
  .team-modal-all .contact-columns .et_pb_column:first-child {
    display: none !important;
  }

  /* Footer */
  #footer-contact {
    background: url('https://rubikproperties.dk/wp-content/uploads/2025/04/mobile-footer-rubik.jpg') !important;
    align-content: start;
    padding-top: 40px;
    background-size: cover !important;
    background-position: right center !important;
    height: 60vh !important;
  }
  .page-id-27 #footer-contact, .page-id-23 #footer-contact {
    background: url('https://rubikproperties.dk/wp-content/uploads/2025/04/mobile-footer-rubik.jpg') !important;
    align-content: start;
    padding-top: 40px;
    background-size: cover !important;
    background-position: right center !important;
  }
  .et_pb_gutters3.et_pb_footer_columns3 .footer-widget:nth-child(1), #footer-bottom .footer-column {
    display: none !important;
  }
  #footer-widgets .footer-widget, .et_pb_gutters1 #footer-widgets .footer-widget {
    width: 50% !important;
  }
  #footer-widgets .et_pb_widget {
    float: none;
  }
  #footer-contact p {
    max-width: 90%;
    margin-top: 20px;
  }
  #footer-bottom .footer-column:first-child {
    display: block !important;
    padding-left: 50%;
    width: 100% !important;
  }
  #main-footer {
    padding: 20px 0;
  }
  #footer-bottom .footer-column:first-child::before {
    display: block !important;
    content: "";
    position: absolute;
    left: 0;
    background: url('https://rubikproperties.dk/wp-content/uploads/2025/02/Rubik-Logo.svg') !important;
    background-size: cover !important;
    width: 136px !important;
    height: 48px !important;
    top: -9px;
  }
  #height .et_pb_column.et-last-child {
    display: none !important;
  }
  #footer-bottom .footer-column {
    line-height: 15px !important;
  }
}

/* Smaller Laptops */
@media only screen and (min-width: 1001px) and (max-width: 1300px) { 
  .team-modal-inner .column:nth-child(3) {
    width: 45% !important;
    font-size: 13px !important;
  line-height: 18px;
  }
  .team-modal-inner .column:nth-child(4) {
    width: 8% !important;
    font-size: 13px !important;
  }
  #footer-contact p {
    max-width: 40%;
  }
  .about-text {
    width: 100% !important;
    max-width: 100% !important;
  }
  #numbers .et_pb_text_inner {
    margin-bottom: 120px;
  }
  .align-center {
    padding-right: 10%;
  }
  .slider-item-inner {
    height: 250px;
  }
  .larger-text, .larger-text * {
    letter-spacing: -.5px !important;
  }
  #numbers .et_pb_text_inner {
    font-size: 13px !important;
  }
  
}

/* iPad Portrait */
@media only screen  and (min-width : 800px)  and (max-width : 1200px) and (orientation : portrait) {
  #menu-main li a {
    font-size: 60px !important;
    line-height: 66px !important;
  }
  .et_pb_svg_logo #logo {
    height: 65% !important;
    max-height: 650% !important;
  }
  #front h1 {
    font-size: 72px !important;
    width: 90% !important;
  }
  h2, .largest-text, .largest-text *, .almost-largest-text, .almost-largest-text * {
    font-size: 50px !important;
    line-height: 50px !important;
  }
  #services .et_pb_image .et_pb_image_wrap {
    max-height: 600px;
  }
  .intro-animation video {
    width: 150% !important;
    margin-left: -25% !important;
  }
  .investment-item {
    width: 48% !important;
    margin-right: 2% !important;
  }
  .et_pb_section.service, .page-id-18 #asset {
    padding-bottom: 30px !important;
  }
  .et_pb_button_module_wrapper.et_pb_button_alignment_right {
    text-align: right !important;
  }
  .et_pb_video_play {
    left: 45% !important;
  }
  #main-content .contact-columns .et_pb_column {
    width: 33% !important;
  }
  #main-content .contact-columns .et_pb_column {
    width: 45% !important;
  }
  .front-video-new video, .front-video-new-long video {
    max-width: 110%;
    margin-left: 0;
  }
}

/* iPad Landscape */
@media only screen  and (min-width : 800px)  and (max-width : 1200px) and (orientation : landscape) {
  .front-video-new, .front-video-new-long {
    top: 200px !important;
  }
}