/* HIDE PAGE HEADLINE */
.page.cms-page  h1 {display: none;}

/* GLOBALS RELAXWOOD  */
.rw {
  --rw-color-gray-light:#eeeff1;
  --rw-color-orange:#ef7a30;
  --rw-color-orange-hover:#e16d1f;
  --rw-color-dark:#4d4949;
  --rw-text:#222;
  --rw-color-white:#fff;

  font-size: 16px;
  line-height: 24px;
}
.rw h2 {font-size: 40px; line-height: 46px; font-weight: bold;}
.rw h3 {font-size: 32px; line-height: 38px; font-weight: bold;}
.rw h4 {font-size: 22px; line-height: 28px; font-weight: bold; color: var(--rw-color-orange); }
.rw h5 {font-size: 18px; line-height: 22px; font-weight: bold;}
.rw img {width: 100%;}
.rw-link {color: inherit; text-decoration: underline;}
.rw-long-image {max-height: 240px; width: 100%; overflow: hidden;display: flex; align-items: flex-end;}
.rw-long-image img {object-fit: cover;}
.rw-btn {display: inline-block; background-color: var(--rw-color-orange); color: var(--rw-color-white); padding: 12px 16px; text-align: center; font-weight: bold; font-size: 16px; line-height: 20px; border-radius: 4px; transition: all 0.3s ease;}
.rw-btn:hover, .rw-btn:focus { color: var(--rw-color-white); text-decoration: none;background-color: var(--rw-color-orange-hover); }
.rw-content { max-width: 1400px; margin: 0 auto;}
.rw-notFullWidth { width: 80%; margin: 0 auto;}
.rw-content + .rw-content { max-width: 1400px; margin: 0 auto;}
.rw-background-gray {background-color: var(--rw-color-gray-light); padding: 40px;}

/* HEADER */
.rw-header {text-align: center;}
.rw-header h2 {margin-bottom: 40px;}
.rw-header .rw-logo {width: 100%; }
.rw-header .rw-logo img { width: 100%;}
.rw-header .rw-content {padding: 60px 0; width: 80%; margin: 0 auto;}
.rw-header p { font-size: 18px; line-height: 24px; }

/* HOME PAGE */
.rw-section {text-align: center; margin-bottom: 40px;}
.rw-section .rw-background-gray h3 {margin: 0;}
.rw-section .rw-background-gray h3 + p {margin-top: 30px;}
.rw-section .rw-row {display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; margin-bottom: 40px; margin-top: 40px;}
.rw-section .rw-col  div {margin-bottom: 20px;}

.rw-tile-list {display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 40px;}
.rw-tile-list + .rw-main {padding-top: 20px;}
.rw-tile {padding: 40px; text-align: center; text-decoration: none;}
.rw-tile:nth-child(2n+1) {background-color: var(--rw-color-gray-light);}
.rw-tile p {margin-bottom: 30px;}
.rw-tile p:last-child {margin-bottom: 0;}

.rw-tile-list-bg { grid-gap: 4px; margin-top: 40px;}
.rw-tile-list-bg .rw-tile { background-color: #ddd; background-blend-mode: multiply; transition: all 0.3s ease; background-position: 50%; background-repeat: no-repeat;background-size: cover; color: #fff; display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 30px;}
.rw-tile-list-bg .rw-tile h4 {color:#fff;}
.rw-tile-list-bg .rw-tile .rw-text {position: relative; top: 30px;transition: all 0.4s ease;}
.rw-tile-list-bg .rw-tile .rw-btn {opacity: 0; transition: all 0.4s ease; position: relative; top: 20px;}
.rw-tile-list-bg .rw-tile:hover {background-color: #aaa; text-decoration: none;}
.rw-tile-list-bg .rw-tile:hover .rw-text {top: 0;}
.rw-tile-list-bg .rw-tile:hover .rw-btn {opacity: 1; top: 0;}

/* SUBPAGES */
.rw-main { margin-bottom: 60px; display: flex; width: 100%; gap: 40px; flex-direction: column;}
.rw-main .rw-row {display: grid; grid-template-columns: 1fr 1fr; justify-content: center; align-items: center;}
.rw-main .rw-txt {text-align: center; padding: 40px 60px;}
.rw-main .rw-txt p {margin-bottom: 30px;}
.rw-main .rw-img {max-height: 600px; height: 100%; width: 100%; display: flex; justify-content: center; align-items: center;}
.rw-main .rw-img img {width: 100%; height: 100%; object-fit: contain; max-width: 500px;}

/* SLIDER */
.rw-slider {position: relative; padding: 20px; max-width: 500px; flex-grow: 1;}
.rw-slider-inner { width:100%;height:auto;overflow:hidden;position:relative;}
.rw-slide {width:100%; top:0; position:absolute;}
.rw-slider-button { position:absolute;top:50%; transform: translateY(-50%); transition: all 0.2s ease; background: var(--rw-color-orange); color: var(--rw-color-white);border:0; border-radius: 100%; width: 40px; height: 40px;font-weight: bold;}
.rw-slider-button:hover {background-color: var(--rw-color-orange-hover)}
.rw-slider-next {right: -5px;}
.rw-slider-prev {left: -10px;}

#rw-showroom {display: flex; flex-direction: column; gap:16px;}
#rw-showroom .rw-row {  display: flex; justify-content: space-between; max-height: 450px; width: 100%;}
#rw-showroom .rw-row--gray { background-color: var(--rw-color-gray-light);}
#rw-showroom .rw-row--orange { background-color: var(--rw-color-orange); color: var(--rw-color-white)}
#rw-showroom .rw-img {flex: 1 0 60%;}
#rw-showroom .rw-img img {width: 100%; height: 100%; object-fit: cover;}
#rw-showroom .rw-txt {flex: 1 0 40%; display: flex; padding: 60px 40px; justify-content: center; align-items: center; text-align: center;}
#rw-showroom + .rw-form {margin-top: 20px;}

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 1200px){
  .rw h2 {font-size: 36px; line-height: 42px;}
  .rw h3 {font-size: 28px; line-height: 34px;}

  .rw-header .rw-content {padding: 40px 0}
  .rw-header h2 { margin-bottom: 20px; }

  .rw-notFullWidth { width: 100%; }

  .rw-main {margin-bottom: 30px; gap: 20px;}
  .rw-main .rw-txt {padding: 30px;}
  .rw-main .rw-txt p {margin-bottom: 20px;}
  .rw-main .rw-content {margin-bottom: 40px;}

  .rw-tile-list {grid-template-columns: repeat(2, 1fr);}
  .rw-tile:nth-child(2n+1) {background-color: var(--rw-color-white);}
  .rw-tile:nth-child(3n+1) {background-color: var(--rw-color-gray-light);}
  .rw-tile:nth-child(4n+1) {background-color: var(--rw-color-gray-light);}

  .rw-tile-list-bg .rw-tile .rw-text {position: relative; top: 0px;}
  .rw-tile-list-bg .rw-tile .rw-btn {opacity: 1; top: 0px;}

  #rw-showroom .rw-img {flex: 1 0 50%;}
  #rw-showroom .rw-txt {flex: 1 0 50%; }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 768px){
  .rw h2 {font-size: 32px; line-height: 36px; }
  .rw h3 {font-size: 24px; line-height: 30px; }
  .rw h4 {font-size: 20px; line-height: 24px; }

  .rw-background-gray {padding: 20px;}

  .rw-header .rw-content {padding: 20px 0; width: 100%;}

  .rw-main { margin-bottom: 20px;}
  .rw-main .rw-row {grid-template-columns: 1fr;}
  .rw-main .rw-txt {padding: 20px 0;}
  .rw-main .rw-img {max-width: 75%; margin: 0 auto;}
  .rw-main .rw-content {margin-bottom: 20px;}

  .rw-section {margin-bottom: 20px;}
  .rw-section .rw-row {grid-template-columns: 1fr; gap: 0; margin: 20px 0;}
  .rw-section .rw-background-gray h3 + p {margin-top: 10px;}

  .rw-tile-list {grid-template-columns: 1fr; margin-bottom: 20px;}
  .rw-tile {padding: 20px;}
  .rw-tile-list-bg { margin-top: 20px;}
  .rw-tile:nth-child(3n+1) {background-color: var(--rw-color-white);}
  .rw-tile:nth-child(4n+1) {background-color: var(--rw-color-white);}
  .rw-tile:nth-child(2n+1) {background-color: var(--rw-color-gray-light);}

  .rw-order-reverse {order: 1;}

  #rw-showroom .rw-row { flex-direction: column; max-height: unset;}
  #rw-showroom .rw-img {flex: 1 0 100%;}
  #rw-showroom .rw-txt {flex: 1 0 100%; display: flex; padding: 30px 20px;}
}

@media (max-width: 536px){
  .rw-main .rw-img {max-width: 100%;}
}