/** M&W Constrution Group CSS BETA */

/**
 * If using a CSS pre-processor, tell it to overwrite this file. If not, place
 * your custom CSS modifications here.
 */
 
/****** mw-colors ******/
:root {
--mw-white: #FFFFFF;
--mw-black: #000000;
--mw-orange-1: #C05730;
--mw-orange-2: #E46725;
--mw-orange-3: #EB8D34;
--mw-orange-3: rgb(235, 141, 52);
--mw-orange-4: #e5a569;
--mw-gray-1: #373D40;
--mw-gray-2: #575D61;
--mw-gray-3: rgb(110, 118, 121, 0.4);
--mw-gray-4: #2A2A2A;
--mw-gray-4: rgb(42, 42, 42);
--mw-gray-5: #777777;
--mw-gray-5: rgb(119, 119, 119);
--mw-gray-6: #3c3c3c;
--mw-gray-6: rgb(60, 60, 60);
--mw-gray-7: #8e8e8e;    
--mw-gray-text: #eaeaea;
--mw-color-1: #00C3FF;
--mw-color-2: #e558b4;
--mw-color-3: #ff6060;
--mw-color-3: rgb(255, 96, 96); 
--mw-color-4: #e5b9d6; 
--mw-color-5: #007aff;
--mw-blue: #4c8abf;
--mw-yellow: #FFE755; 
    
--mw-color-perfo1: rgb(255, 231, 85);    
--mw-color-perfo2: rgb(0, 195, 255);

  --radius-sm: 6px;   /* small elements: form controls, small badges */
  --radius-md: 10px;  /* buttons, search box, dropdowns */
  --radius-lg: 16px;  /* card / project images, video thumbnails */
  --radius-pill: 999px; /* circular icons (contact buttons, back-to-top) */
}



.bs-bg-success { background-color: #28a745; }
.bs-bg-warning { background-color: #ffc107; }
.bs-bg-danger  { background-color: #dc3545; }
.bs-bg-light   { background-color: #f8f9fa; }
.bs-text-white { color: #fff; }
.bs-text-black { color: #000; }



/****** mw-classes ******/
.mw-orange-3 {
    color: var(--mw-orange-3);
}

.mw-white {
    color: var(--mw-white);
}

.button, .btn-main, .btn-primary, .btn {
    background-color: var(--mw-orange-3) !important;
    color: var(--mw-white) !important;
    border-radius: var(--radius-pill) !important;
    border-color: transparent !important;
    font-size: 0.9em !important;
}

.button:hover {
    transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255, 106, 0, 0.45);
  filter: brightness(1.05);
}

/*#### Exceptions to button hover ######*/
#block-searchform .button:hover {
    transform: none;
  box-shadow: none;
  filter: brightness(1.05);
}


.rounded-border {
    border-radius: var(--radius-lg);
    padding: 10px;
    border: 1px solid var(--mw-gray-5);
}

.section-margin-top-bottom-30 {
    margin-top: 60px;
    margin-bottom: 60px;
}




html {
  scroll-behavior: smooth;
  word-wrap: break-word;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-left:0;
    padding-right: 0;
}

/************** All pages to have 10px padding on small screes ad 30px o desktop **************/
.content {
    padding-left: 50px;
    padding-right: 50px;
    margin-top: 20px;
}

@media only screen and (max-width: 979px) {
    .content {
    padding-left: 10px;
    padding-right: 10px;
}
}

/************** All pages to have extra 60px margin left and right to accomadate Call to action block *************/
@media only screen and (min-width: 980px) {
#loga-klientow, .parallax, #call-to-action, #se-loga-klientow, .page-node-223 #realizacja-kategorie-i-kontent, #oferta-full-width {
    margin-left: calc(-1 * var(--content-padding, 50px));
    margin-right: calc(-1 * var(--content-padding, 50px));
}
}


@media only screen and (max-width: 979px) {
#loga-klientow, .parallax, #call-to-action, #se-loga-klientow, .page-node-223 #realizacja-kategorie-i-kontent, #oferta-full-width {
    margin-left: calc(-1 * var(--content-padding, 10px));
    margin-right: calc(-1 * var(--content-padding, 10px));
}
}




/******* Areas where content must reach left and right edges ********
.parallax, #call-to-action, #loga-klientow {
    margin-left: -10px;
    margin-right: -10px;
}

#call-to-action {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
}
*/


/************** Experimental (google translate icons) **************/
#gtx-trans {display: none;}

/************** zadzwonic? **************/
.ui-datepicker-trigger {display: none}

/************** Global styles **************/
@media only screen and (min-width: 980px) {
.main-container {margin-top: 0;}
}

li {list-style: square;}

*, ::after, ::before {
    box-sizing: border-box;
}

/* Temporary disabled language switcher 
.language-switcher-language-url {} */


/* Test - typy obiektow modulowych */
@media only screen and (min-width: 992px) {
#typy-obiektow-modulowych .icon-box {min-height: 435px;}
}


#typy-obiektow-modulowych-v3 {margin-top: 2em;
background-color: var(--mw-) }

a:focus, a:focus-visible {
    outline: none;
}




.btn-get-started-container {text-align: center;}
.alert {padding: 0; margin:0;}


#hero-region {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
  z-index: 1;
}



/************** Full width layout **************/

@media only screen and (min-width: 854px) {
.region-content, #navbar, .region-footer, .alert, .alert-info, .messages, .info, .region-help, .page-node-type-blog_post .main-container, .breadcrumb {max-width: 1440px; margin-left: auto !important; margin-right: auto !important;}


.path-frontpage .region-content, .page-node-68 .region-content, .page-node-72 .region-content, .page-node-type-realization .region-content, .page-node-193 .region-content, .page-node-223 .region-content, .page-node-63 .region-content, .page-node-41 .region-content 
{max-width: 100%;}
}

.path-frontpage .col-sm-12, .page-node-193 .col-sm-12, .page-node-223 .col-sm-12, .page-node-251 .col-sm-12, .page-node-63 .col-sm-12, .page-node-41  .col-sm-12 {padding-left: 0; padding-right: 0;}

.path-new-projects .col-sm-12 {
    padding-left: 10px; padding-right: 10px;
}


.page-node-68 .col-sm-12, .page-node-type-realization .col-sm-12, .page-node-251 .col-sm-12, .page-node-63 .col-sm-12 {margin-left: 0; margin-right: 0; padding-left:0; padding-right: 0;}

/*
.page-node-type-realization .content, .page-node-type-nowe_projekty .content {
max-width: 1280px;
margin-left: auto;
margin-right: auto;}
*/

.page-node-type-realization #realizacja-titles, .page-node-type-nowe_projekty #realizacja-titles {
padding-left: 10px;
padding-right:10px;
}

.layout1040-block {
    max-width: 1040px; margin-left: auto; margin-right: auto; margin-top: 18px;
} 

.layout1440, .view-logo-klienta-v2 {max-width: 1440px; margin-left: auto; margin-right: auto; }


.layout1440 {padding-left:0; padding-right:0;}


.layout1880 {max-width: 1880px; margin-left: auto; margin-right: auto; }

.zero-margin {margin:0; padding: 0;}

@media  (min-width: 1261px) {
.minus-15-right-margin {margin-right: -15px;}
.minus-15-left-margin {margin-left: -15px;}
}
.inner-block-padding {padding: 2em;}

body {
font-family: "Helvetica Neue", Helvetica, Arial;
font-size: 18px;
color: var(--mw-gray-6);
background-color: var(--mw-white);
}



h1, .h1, h2, .h2, h3, .h3 {margin-top: 0; margin-bottom: 0;}

.block-views h2 {font-size: 32px; font-style: normal; font-weight: 800; text-align: left; color: var(--mw-gray-5); padding: 12px 0 12px 0;}

h1,h2,h3,h4,h5,h6 {font-family: 'Raleway';}
h1 {font-size: 42px; font-style: normal; font-weight: 800; color: var(--mw-gray-5);}
h2 {font-size: 32px; color: var(--mw-gray-5);}
h3 {font-size: 28px;font-style: normal; font-weight: 400; text-align: left; color: var(--mw-gray-5); padding: 4px 0 0 0;}

/* Small screens headings */
@media screen and (max-width: 520px) {
h1 {font-size: 32px;}
h2 {font-size: 28px;}
h3 {font-size: 19px;}
}


p {padding: 16px 0 16px 0; text-align: left;}

a {
color: var(--mw-gray-6);     
text-decoration: none;
font-weight: 400;
}


.content a {
    text-decoration: underline;
}

a.btn, .field--name-field-button-link a, #contact-details-on-contact a {
    text-decoration: none;
}

a:hover, a:focus {
color: var(--mw-orange-4);
text-decoration: underline;
-webkit-transition: all .3s ease-in-out;
	   -moz-transition: all .2s ease-in-out;
		-ms-transition: all .2s ease-in-out;
		 -o-transition: all .2s ease-in-out;
			transition: all .2s ease-in-out;
}

/* img */
img{max-width: 100%;}

.alert-info a, .alert-info a:hover, .alert-info a:focus {
    color: var(--mw-orange-4);
}

/**    blockquote   **/
blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 18px;
    border-left: 12px solid rgb(0, 195, 255, 0.6);
}



/************** Devi main top**************/
.devi-main-top { width: 80%; height:200px; float: right; margin-top: 1em; margin-bottom: 2em;}
.devi-main-top svg {overflow: visible}

/************** Devi main top - Add more @media - Bongo **************/

@media screen and (max-width: 640px) {
.devi-main-top {display:none} 
}


/************** Devi main bottom**************/
.devi-main-bottom { width: 70%; height:200px; float: right; margin-top: 1em; margin-bottom: 2em;}

@media screen and (max-width: 640px) {
.devi-main-bottom {display:none} 
}


/************** check it - Bongo **************/
.devi-orange-1 {margin-top: 90px; margin-left: -160px;}
.devi-orange-2 {margin-top: -140px;}
.devi-blue {margin-top: -180px;}
.devi-blue-gray {margin-top:-240px; margin-right: 100px;}






/************** BTN Primary **************/
.btn-main {padding: 0.8em 1.8em; font-size: 1em;}
.btn-primary {background-color: var(--mw-gray-5); border-color:  var(--mw-gray-5); border-radius:0;}
.btn-primary:hover {background-color: var(--mw-color-1); border-color: var(--mw-color-1); border-radius:0;}
.offer .btn-primary {float: right; margin-right: 16px;}
.dropdown:hover > .dropdown-menu { display: block;}
input {border-radius:0 !important;}

@media only screen and (max-width: 446px) {
.all-projects-btns a {margin-bottom: 18px; width: fit-content;}
}

.text-icon {margin: 32px 0 32px 0;}
/************** Header **************/
.navbar-default, .breadcrumb {background: transparent; border: none; padding: 0 0 0 0; margin: 0 0 0 0;}
p#site-slogan {font-size: 18px; float: left; clear: left; font-style: normal; text-transform: uppercase; font-weight: 900; color: var(--mw-orange-3); padding: 0 0 0 80px; margin-left: -25px; margin-top: -10px; letter-spacing: 1px;}
.search-block-form {max-width: 240px;}
.alert-info {background: none; border: none;}
.glyphicon-question-sign {display: none;}
#block-mwconstruction3-branding img {float: left; max-width: 192px; padding: 0 0 0 6px;}
.path-frontpage .content .layout--onecol:first-child img {}





/************** Main navigation **************/
header .menu--main {float: right; clear: right;}
#block-mwconstruction3-branding {padding: 16px; padding-bottom: 0;}


@media only screen and (max-width: 979px) {
#block-mwconstruction3-branding {padding: 5px 16px 5px 16px;}
}


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

  
.navbar-toggle {position: absolute; top:12px; right:0;}
  
.navbar-collapse {text-align: left; float: left;}
.menu--main { float: right; clear: right; position: relative;}
}

.navbar-default .navbar-nav > li > a {
    color: var(--mw-color-2);
}

/* Hamburger */

.fa-navicon:before, .fa-reorder:before, .fa-bars:before {color: var(--mw-orange-3);}


.page-node-72 .fa-reorder:before, .page-node-166 .fa-reorder:before, .page-node-163 .fa-reorder:before, .page-node-164 .fa-reorder:before, .page-node-165 .fa-reorder:before {color: var(--mw-orange-3);}


/********** TB MegaMenu ***********/



button.navbar-toggle {display: none;}
button.tb-megamenu-button {float: right !important;}
.navbar-header {width: 100%; margin-left: 0 !important; margin-right:0 !important; }
.tb-megamenu {background-color: transparent;}
.tb-megamenu .nav li a {border-right: none;}

ul.tb-megamenu-nav {margin-left: auto !important; margin-right: auto !important; float: none; width: fit-content}
.tb-megamenu .nav > li > a:focus, .tb-megamenu .nav > li > a:hover, .tb-megamenu .nav > li > span.tb-megamenu-no-link:focus, .tb-megamenu .nav > li > span.tb-megamenu-no-link:hover {background-color: transparent; !important}
.tb-megamenu .nav > .active > a, .tb-megamenu .nav > .active > a:hover, .tb-megamenu .nav > .active > a:focus, .tb-megamenu .nav > .active > span.tb-megamenu-no-link, .tb-megamenu .nav > .active > span.tb-megamenu-no-link:hover, .tb-megamenu .nav > .active > span.tb-megamenu-no-link:focus, .tb-megamenu .active-trail, .tb-megamenu .nav li.dropdown.active > .dropdown-toggle {background-color: transparent; color: var(--mw-orange-4);}
.tb-megamenu .nav li.dropdown.active > .dropdown-toggle, .tb-megamenu .nav li.dropdown.open.active > .dropdown-toggle, .tb-megamenu .nav > li.dropdown.open.active > a:hover, .tb-megamenu .nav > li.dropdown.open.active > span.tb-megamenu-no-link:hover {
    background-color: transparent;}

.tb-megamenu.animate .mega.animating.open > .mega-dropdown-menu {
    opacity: 0;
  }
  .tb-megamenu.animate .mega.animating > .mega-dropdown-menu {
    display: none!important;
  }

.tb-megamenu .nav > li > a,
.tb-megamenu .nav > li > span.tb-megamenu-no-link {
font-size: 16px;
  font-weight: 400;
letter-spacing: ;
    color: var(--mw-color-2);
}

.tb-megamenu .mega-nav > li a,
.tb-megamenu .dropdown-menu .mega-nav > li a,
.tb-megamenu .mega-nav > li span.tb-megamenu-no-link,
.tb-megamenu .dropdown-menu .mega-nav > li span.tb-megamenu-no-link {
  padding: 12px 0;
}

.tb-megamenu .dropdown-menu li > a,
.tb-megamenu .dropdown-menu li > span.tb-megamenu-no-link {
  border-top: none;
}

  .animating a, .open a {background-color: transparent !important;}
  
  .tb-megamenu .btn, .tb-megamenu .btn:active, .tb-megamenu .btn:focus {padding-right: 40px; background: transparent; border: none; font-size: 32px; box-shadow: none; background-color: transparent !important; margin-top: -50px;}
  
  @media only screen and (max-width: 373px) {
    .tb-megamenu .btn, .tb-megamenu .btn:active, .tb-megamenu .btn:focus {/*margin-top: -93px;*/}  
       p#site-slogan {font-size: 12px}
  }
  
  @media only screen and (min-width: 374px) and (max-width: 408px) {
    .tb-megamenu .btn, .tb-megamenu .btn:active, .tb-megamenu .btn:focus {margin-top: -49px;}  
 p#site-slogan {font-size: 14px}
  }

 @media only screen and (min-width: 409px) and (max-width: 471px) { 
 p#site-slogan {font-size: 14px}
  }

  
  
  .tb-megamenu .btn:focus, .tb-megamenu .btn:active {outline: none !important; background-color: transparent !important;}
  
  
  .tb-megamenu .dropdown-menu {background-color: var(--mw-white); }
  .tb-megamenu .nav li a {color: var(--mw-gray-6);}

.tb-megamenu .nav > li > a:focus,
.tb-megamenu .nav > li > a:hover,
.tb-megamenu .nav > li > span.tb-megamenu-no-link:focus,
.tb-megamenu .nav > li > span.tb-megamenu-no-link:hover {
    color: var(--mw-orange-4);
}
  
.tb-megamenu .nav li.dropdown.open > .dropdown-toggle {
  color: var(--mw-orange-4);
}

.tb-megamenu .dropdown-menu {border-bottom: none;}

 .tb-megamenu .nav-collapse .nav > li > a:hover,
  .tb-megamenu .nav-collapse .nav > li > a:focus,
  .tb-megamenu .nav-collapse .nav > li > span.tb-megamenu-no-link:hover,
  .tb-megamenu .nav-collapse .nav > li > span.tb-megamenu-no-link:focus {
    color: var(--mw-orange-4);
  }

.tb-megamenu .block-view-demo a:hover,
.tb-megamenu .block-view-demo a:focus {
  color: none;
}

.tb-megamenu .dropdown-menu li > a:hover,
.tb-megamenu .dropdown-menu li > a:focus,
.tb-megamenu .dropdown-submenu:hover > a,
.tb-megamenu .dropdown-menu li > span.tb-megamenu-no-link:hover,
.tb-megamenu .dropdown-menu li > span.tb-megamenu-no-link:focus,
.tb-megamenu .dropdown-submenu:hover > span.tb-megamenu-no-link {
  color: var(--mw-orange-4);
}

.tb-megamenu .dropdown-menu .active > a,
.tb-megamenu .dropdown-menu .active > a:hover,
.tb-megamenu .dropdown-menu .active > span.tb-megamenu-no-link,
.tb-megamenu .dropdown-menu .active > span.tb-megamenu-no-link:hover {
 background-color: none;
}


@media (max-width: 979px) {
.tb-megamenu .nav-collapse, .tb-megamenu .nav-collapse .dropdown-menu {background: var(--mw-gray-1);}
}

@media (min-width: 768px) {
.container > .navbar-header,
.container-fluid > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-collapse {
    margin-right: -16px;
    margin-left: -16px;
    
}
}

.tb-megamenu .dropdown-menu .active > a,
.tb-megamenu .dropdown-menu .active > a,
.tb-megamenu .dropdown-menu .active > a:hover {background-color: transparent; background-image: none;}
.tb-megamenu .dropdown-menu .active > a:hover {color: var(--mw-orange-4);}

.tb-megamenu-submenu {margin-top: 0px !important}

.tb-megamenu .nav-collapse .nav li a {border-top: none;}

.tb-megamenu .btn-navbar {
    text-shadow: 0 0px 0 rgb(0 0 0 / 25%);
}


/********** tb menu show expandable menu items **********/
a.dropdown-toggle:after, .tb-megamenu .dropdown-submenu > a:after, .tb-megamenu .dropdown-submenu > span.tb-megamenu-no-link:after{
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 5px 5px 5px;
    border-top-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}

.tb-megamenu .dropdown-submenu:hover > a:after {
    border-left-color: transparent;
}

@media (max-width: 979px){
.tb-megamenu .nav-collapse .nav {
    float: left;}
}


/********** tb menu icons **********/

.bi-intersect {padding-right: 0; color: var(--mw-gray-5);}
.bi-archive {padding-right: 0; color: var(--mw-gray-5);}
.bi-grid-1x2-fill {padding-right: 0; color: var(--mw-gray-5);}
.bi-grid-1x2 {padding-right: 0; color: var(--mw-gray-5);}
.bi-box-seam {padding-right: 0; color: var(--mw-gray-5);}
.bi-pencil-square {padding-right: 0; color: var(--mw-gray-5);}
.bi-envelope-fill {padding-right: 0; color: var(--mw-gray-5);}
.bi-search {padding-right: 0; color: var(--mw-gray-5);}
.bi-house {padding-right: 0; color: var(--mw-gray-5);}
.bi-arrow-bar-down {padding-right: 0; color: var(--mw-gray-5);}

.bi-front {padding-right: 0; color: var(--mw-gray-5);}
.bi-palette2 {padding-right: 0; color: var(--mw-gray-5);}
.bi-house-door-fill {padding-right: 0; color: var(--mw-gray-5);}
.bi-clock-history {padding-right: 0; color: var(--mw-gray-5);}
.bi-building {padding-right: 0; color: var(--mw-gray-5);}
.bi-layers-half {padding-right: 0; color: var(--mw-gray-5);}
.bi-align-end {padding-right: 0; color: var(--mw-gray-5);}
.level-1 > a > .bi-house {padding-right: 0; color: #58cee5 !important;}


/********** tb menu icons - obiekty modulowe**********/
.bi-briefcase-fill{padding-right: 0; color: var(--mw-gray-5);}
.bi-cup-straw{padding-right: 0; color: var(--mw-gray-5);}
.bi-basket-fill{padding-right: 0; color: var(--mw-gray-5);}
.bi-people{padding-right: 0; color: var(--mw-gray-5);}
.bi-camera2{padding-right: 0; color: var(--mw-gray-5);}
.bi-display{padding-right: 0; color: var(--mw-gray-5);}

/********** tb menu icons - techniologia**********/
.bi-bounding-box{padding-right: 0; color: var(--mw-gray-5);}
.bi-house{padding-right: 0; color: var(--mw-gray-5);}
.bi-bricks{padding-right: 0; color: var(--mw-gray-5);}
.bi-card-checklist{padding-right: 0; color: var(--mw-gray-5);}


  @media only screen and (max-width: 979px) {
      .tb-megamenu .nav-collapse {background: var(--mw-gray-6);}
       .tb-megamenu .nav-collapse .nav > li > a, .tb-megamenu .nav-collapse .dropdown-menu a {border-bottom: none; border-top: none;}
        .tb-megamenu .nav-collapse {margin-top: -32px;}
        .tb-megamenu .nav-collapse .dropdown-menu {background-color: transparent}
        .tb-megamenu .nav > .active > a {border-bottom: 0 solid var(--mw-orange-4) !important;}
  }
  
  
  /* FIX MENU ON HOME PAGE - DISAPPEARING BCKG*/
  
  @media (max-width: 979px) {
.tb-megamenu .nav-collapse.show {
    overflow: visible;
    height: auto !important;
}
}



/* MAIN MENU BACKGROUND ON THE HOME PAGE  */

/*
@media (min-width: 980px) {
    .page-node-174 .tb-megamenu .nav li {
    background: rgb(255, 255, 255, 0.5);
    margin: 4px;
    }
    
}
*/



/********** Language switcher **********/
.language-switcher-language-url {float: right;}
.language-switcher-language-url li {font-size: 12px; font-weight: 300; letter-spacing: 1px; text-transform: uppercase; list-style: none; display: inline; margin-right: 5px;}
/*
@media only screen and (max-width: 767px) {
.language-switcher-language-url ul {margin-top: 16px;}
}
*/

.language-switcher-language-url ul {margin-top: 36px;}
.language-switcher-language-url li:last-child {margin-right: 0 !important;}

@media (max-width: 979px){
.language-switcher-language-url ul {margin-top: 0; margin-bottom: 0;}
.language-switcher-language-url {float: right; margin-right: 0.6em;}
}

/************ Revolution Slider ***********/

 .block-revslider {margin-left: 0px; margin-right: 0px;}

/************ Content - home page ***********/

.realization h2 {margin-top:0; margin-bottom:0;}
.realization h2 div.field--item {margin-bottom: 0;}

.realization h3 {font-size: 32px; margin-top:0; margin-bottom: 6px;}
.realization h3 div.field--item {margin-bottom: 0;}

.read-more-link {float: left; padding-top: 0; margin-top: -12px;}

.block-views-blocklogo-klienta-v2-block-1 {background-color: var(--mw-gray-3); border-top: 1px solid var(--mw-white); border-bottom: 1px solid var(--mw-white);}
.view-loga-klientow-grid svg, .view-loga-klientow-grid img {}
.block-views-blocklogo-klienta-v2-block-1 .views-row {}

.view-logo-klienta-v2 svg {max-width: 200px;}

/*.view-logo-klienta-v2 .views-col {margin: -20px 0 -20px 0;}*/
.view-logo-klienta-v2 .field-content {text-align: center;}

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

.view-logo-klienta-v2 .views-col {width: 33% !important;}
}

.view-logo-klienta-v2 svg {filter: saturate(0%);}
.view-logo-klienta-v2 svg:hover {filter: saturate(100%);;}

@media only screen and (min-width: 977px) {
}


#se-loga-klientow {
    background: var(--mw-gray-3);
    padding: 60px 0;
}

#se-loga-klientow .layout--onecol {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (min-width: 640px) {
#se-loga-klientow img{
    width: 50%
}
}

@media only screen and (min-width: 992px) {
#footer-additional-local-info  {
  display: flex;
  align-items: center
}
}

#footer-additional-local-info p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.momo-brand {
    color: #d9d6d2;
    font-size: 26px;
}

#footer-additional-local-info a {
    font-weight: 600;
}

#copyright-footer p {
    font-size: 14px;
}

#block-websitefooterpllb p {
    color: #ffffff;
}

#block-websitefooterpllb a {
    text-decoration: none;
}



/************ Main menu  ***********/
/* to display exoanded - only for dev 
ul.dropdown-menu {display: block !important;}
*/

#block-mainnavigation-2 li.first ul.dropdown-menu {position:relative; left: 48px; max-width: 100%;}
@media only screen and (max-width: 767px) {
 #block-mainnavigation-2 ul.dropdown-menu {position: relative;}  
}

/******** Front Page ***********/

.front-page-triple-technologia-column svg {width: 128px; height: auto;}
.front-page-triple-technologia-column .icon1 {fill: var(--mw-gray-text); }
.front-page-triple-technologia-column .icon2 {fill: var(--mw-orange-4); }
.front-page-triple-technologia-column .icon3 {fill: var(--mw-yellow); }
.front-page-oferta{margin-bottom: 32px;}

/* Front page oferta equal height columns */
@media only screen and (min-width: 992px) {
.oferta-services .icon-box {min-height: 400px;}
}

/******** Realizacje ***********/
.entity-pager-list {margin-top: -16px; margin-bottom: 0;}

.author {display: none;}

.field--label {font-size: 18px; font-weight: 200; letter-spacing: 1px; float: left;}

#realizacja-kategorie-i-kontent .field--item {font-size: 18px; padding-left: 0.5em;}

.field--item p, .field--item, .field--label {font-size: 18px; font-weight: 300;}

.form-item-date-time-date {margin-bottom: 16px !important}

.form-control {border-radius: 1px; border: 1px solid var(--mw-gray-3)}
.webform-submission-request-phone-call-form .form-control, .webform-submission-request-a-phone-call-en--form .form-control, .webform-submission-request-phone-call-de--form .form-control {width: 100% !important}

#textarea.form-control {
    height: 87px;
}

.node--type-realization .group-left, .node--type-nowe-projekty .group-left {width: 33.3%;}
.node--type-realization .group-right, .node--type-nowe-projekty .group-right {width: 66.6%;}

@media only screen and (max-width: 767px) {
.node--type-realization .group-left, .node--type-nowe-projekty .group-left {width: 100%;}
.node--type-realization .group-right, .node--type-nowe-projekty .group-right {width: 100%;}
}

.node--type-realization .group-left .field--label {float: left;}
.node--type-realization .group-left .field--item {float: none !important;}
/*div.field--item:first-child {margin-bottom: 2em;}*/
div.field--item:not(:first-child) {display: inline; float: left; margin-left: 0px;}
/*.field--name-field-finish .field--item {display: inline; }*/
.field--name-field-finish .field--item a::after {content: ",";}
/*.field--name-field-finish .field--item a:last-child:after {content: ".";}*/
.views-row .layout__region {padding: 4px; margin-bottom:16px;}

/*
@media only screen and (max-width: 1262px) {
.realization .photoswipe-gallery div.field--item:not(:first-child) {max-width: 60px;}
}
*/

/* Tlo na Pictures w Realizacjach */

/*
.block-field-blocknoderealizationfield-realization- {background-image: url("../images/bg-realizacje-1440-720.svg"); background-color: var(--mw-gray-5);}
*/

.photoswipe-gallery div.field--item:not(:first-child) {display: inline; float: right; margin-left: 4px; margin-top: 4px;}

.photoswipe-gallery {max-width: 1280px; height: auto; margin-left: auto; margin-right: auto;}

/*
.photoswipe-gallery .field--type-image {background-color: var(--mw-gray-5);}
*/

@media only screen and (max-width: 767px) {
 .photoswipe-gallery div.field--item:not(:first-child) {
    height: 65px !important;   
}
}

@media only screen and (min-width: 768px) {
 .photoswipe-gallery div.field--item:not(:first-child) {
    height: 65px;   
}
}



.photoswipe-gallery div.field--item:not(:first-child) img {
    height: 100%;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius-sm);
}

span.photoswipe-gallery {
    display: block;
}


@media only screen and (max-width: 894px) {
#realizacje-bottom-row .layout__region--first, #realizacje-bottom-row .layout__region--second  {flex: 0 1 100%;}
}

.views-field-field-number-of-realization {font-weight: 900; letter-spacing: 0; color: var(--mw-gray-6); margin: 6px 0 0 0;}
.views-field-field-solution {font-size: 16px; font-weight: 400; margin: 0 0 0 0;}
.views-field-title {font-size: 20px; font-weight: 800; color: var(--mw-gray-5); margin: 0 0 0 0;}

.views-field-field-number-of-realization .views-label, .views-field-field-number-of-realization .field-content {display: inline; font-weight: 400;}

#realizacje-bottom-row .layout__region--first, #realizacje-bottom-row .layout__region--second {flex: 0 1 50%;}

@media only screen and (max-width: 461px) {
   #realizacje-bottom-row .layout__region--first, #realizacje-bottom-row .layout__region--second {flex: 0 1 100%;} 
}

@media only screen and (min-width: 960px) {
#realizacje-bottom-row {max-width: 50%; margin-left: auto; margin-right: auto;}
}

@media only screen and (max-width: 767px) {
.section-contact-on-pages {float: none; margin-left: auto; margin-right: auto;}   
}


@media only screen and (min-width: 768px) {
.page-node-type-realization .section-contact-on-pages .webform-actions {position: relative;} 
#realizacje-contact-forms {margin-top: 16px;}
}

.section-contact-on-pages form {padding:20px;}
.section-contact-on-pages input, #contact-us-forms input {width: 100% !important;}

#edit-date-time {width: 100%}
#edit-date-time .form-item {width: 100%;}

.section-contact-on-pages .form-type-date {width: 100%; margin-bottom: 16px;}
.section-contact-on-pages .form-type-webform-time {width: 100%;}

.section-contact-on-pages h2 {font-size: 24px; font-style: normal; font-weight: 800; text-align: left; color: var(--mw-gray-5); padding: 14px 0 0 20px;}

/*
@media only screen and (max-width: 960px) {
.page-node-type-realization .layout__region--first, .page-node-type-realization .layout__region--second {flex: 0 1 100% !important;}
#realizacje-contact-forms .layout__region--first, #realizacje-contact-forms .layout__region--second {flex: 0 1 50% !important;}
}

@media only screen and (max-width: 460px) {
#realizacje-contact-forms .layout__region--first, #realizacje-contact-forms .layout__region--second {flex: 0 1 100% !important;}
}
*/

/*.entity-pager-item-prev a {display: none;}*/
.entity-pager-item-prev a:after {content: url(/sites/default/files/svg-icons/chevron-left.svg); position: relative; top: 35px; left: 40px; }

.entity-pager-item-next a:after {content: url(/sites/default/files/svg-icons/chevron-right.svg); position: relative; top: 35px; right: 10px;}

/* Realizacje */

.page-node-type-realization .block-field-blocknoderealizationtitle h2, .page-node-type-realization .block-field-blocknoderealizationfield-secondary-title h3, .page-node-type-nowe_projekty .block-field-blocknodenowe-projektytitle h2, .page-node-type-nowe_projekty .field--name-field-secondary-title h3 { color: var(--mw-orange-3);}

.page-node-type-realization .field--name-field-secondary-title h1, 
.page-node-type-realization .field--name-field-sprzedaz-auto-generated-ti h1 {color: var(--mw-orange-3);}
.page-node-type-realization .block-field-blocknoderealizationtitle h2 {color: var(--mw-orange-3); }
.page-node-type-realization .photoswipe-gallery {margin-top: 2em;}

/*
@media only screen and (min-width: 768px) {
.page-node-type-realization .block-field-blocknoderealizationtitle h2 {position: absolute; top: 140px; left: 80px; background-color: rgba(0, 0, 0, 0.4); padding: 5px;}


.page-node-type-realization .block-field-blocknoderealizationfield-secondary-title h3 {position: absolute; top: 80px; left: 80px; background-color: rgba(0, 0, 0, 0.4); padding: 5px;}
}
*/

#realizacja-kategorie-i-kontent, #realizacja-main-text {margin-top: 40px;}

#realizacja-kategorie-i-kontent .layout__region--first section.bi {padding-left: 50px;}

#realizacja-kategorie-i-kontent .layout__region--first section.bi::before {
    position: relative;
    top: 26px;
    left: -46px;
    margin-top: -20px;
    font-size: 22px;
    color: var(--mw-gray-5);
}


/* Call to Action w Realizacjach  */
    #call-to-action {
    background-color: var(--mw-orange-4);
    color: var(--mw-gray-6);
    border: none;
    margin-top: -95px;
    padding: 20px 0;
    }
    
    @media only screen and (min-width: 1440px) {
    #call-to-action .layout__region--first{
        max-width: 710px;
        margin-left: auto;
    }
    
    
    #call-to-action .layout__region--second {
        max-width: 710px;
        margin-right: auto;
       
    }
    }
    
    #call-to-action h3, #call-to-action h2 {color: var(--mw-gray-6);}
    
    #call-to-action .btn-primary {background-color: var(--mw-gray-6);}
    
  
    @media only screen and (max-width: 741px) {
    #call-to-action #realizacje-contact-forms .layout__region {flex: 0 1 100% !important;} 
    }
    
    #call-to-action a:hover, #call-to-action a:focus {color: var(--mw-gray-4);}


/* Target the main container */
#call-to-action {
    display: flex !important;
    align-items: center; /* This handles the vertical centering */
    flex-wrap: wrap;    /* Ensures it stays responsive on mobile */
}

/* Ensure the regions take up their 50/50 space correctly */
#call-to-action .layout__region {
    flex: 1 1 50%;
    min-width: 300px;    /* Prevents columns from getting too squashed */
}


/* Next realization buttons */
.block-views-blockrealizations-next-button-block-1, .block-views-blocknew-projects-next-button-block-1, .view-pl-realizations-next-button, .view-en-new-projects-next-button, .view-de-realizations-next-button, .view-de-new-projects-next-button {clear: both;}

/******** Iconki w Realizacjach  ***********/
#realizacje-top-double-row-section .layout__region--first section.bi {padding-left: 50px;}
#realizacje-top-double-row-section .layout__region--first section.bi::before {position: relative; top: 26px; left: -46px; margin-top: -20px; font-size: 22px; color: var(--mw-gray-5);}
    
.block-field-blocknoderealizationfield-location2 {margin-bottom: 32px;}

@media only screen and (min-width: 640px) and (max-width: 800px) {
    .layout--fourcol-section  .layout__region {flex: 0 1 100% !important;}
}

@media only screen and (min-width: 1201px) {
    .layout--fourcol-section  .layout__region {flex: 0 1 50%;}
}




/******** Nowe Projekty  ***********/

.node--type-nowe-projekty .group-left .field--label {float: left;}
.node--type-nowe-projekty .group-left .field--item {float: none !important;}

@media only screen and (min-width: 960px) {
#nowe-projekty-bottom-row {max-width: 50%; margin-left: auto; margin-right: auto;}
}

@media only screen and (max-width: 461px) {
#nowe-projekty-bottom-row .layout__region--first, #realizacje-bottom-row .layout__region--second {flex: 0 1 100%;} 
}

@media only screen and (min-width: 960px) {
#nowe-projekty-bottom-row {max-width: 50%; margin-left: auto; margin-right: auto;}
}


.page-node-type-nowe_projekty .field--name-field-secondary-title h1 {color: var(--mw-orange-3);}
.page-node-type-nowe_projekty .block-field-blocknoderealizationtitle h2 {color: var(--mw-orange-3);}
.page-node-type-nowe_projekty .photoswipe-gallery {margin-top: 2em; display: block;}




/******** USE Flickr/Google TO AUTOMATICALLY RESIZE IMG TO FILL ALL AVAIL SPACE ***********/
.photoswipe-gallery .field--items {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.photoswipe-gallery .field--items > .field--item:first-child {
  flex: 0 0 100%;
  width: 100% !important;
  height: auto !important;
}
.photoswipe-gallery div.field--item:not(:first-child) {
  float: none !important;
  margin: 0 !important;
  overflow: hidden;
}
.photoswipe-gallery div.field--item:not(:first-child) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/******** EOF USE Flickr/Google TO AUTOMATICALLY RESIZE IMG TO FILL ALL AVAIL SPACE ***********/




/******** Iconki w Nowych Projektach  ***********/
#nowe-projekty-top-double-row-section .layout__region--first section.bi {padding-left: 50px;}
#nowe-projekty-top-double-row-section .layout__region--first section.bi::before {position: relative; top: 26px; left: -46px; margin-top: -20px; font-size: 22px; color: var(--mw-gray-5);}
    
.block-field-blocknoderealizationfield-location2 {margin-bottom: 32px;}


/******** Offer **********
.strona-oferta-3-col-1st-row-section  svg {width: 128px; height: auto;}
.strona-oferta-3-col-1st-row-section .icon1 {fill: var(--mw-gray-1); }
.strona-oferta-3-col-2nd-row-section .icon2 {fill: var(--mw-color-1); }
.strona-oferta-3-col-1st-row-section .icon3 {fill: var(--mw-yellow); }

.strona-oferta-3-col-2nd-row-section  svg {width: 128px; height: auto;}
.strona-oferta-3-col-2nd-row-section .icon4 {fill: var(--mw-orange-1); }
.strona-oferta-3-col-2nd-row-section .icon5 {fill: var(--mw-orange-2); }
.strona-oferta-3-col-1st-row-section .icon6 {fill: var(--mw-orange-3); }
@media only screen and (max-width: 639px) {
.offer {width: 100% !important;}
}
*/

/******** Technology ***********/
.page-node-72 svg {width: 128px; height: auto;}
.page-node-72 .icon-tech-1 {fill: var(--mw-color-1); margin: 32px 0 32px 0;}
.page-node-72 .icon-tech-2 {fill: var(--mw-gray-text); margin: 32px 0 32px 0;}
.page-node-72 .icon-tech-3 {fill: var(--mw-gray-5); margin: 32px 0 32px 0;}
.page-node-72 .icon-tech-4 {fill: var(--mw-orange-4); margin: 32px 0 32px 0;}

/* Gray background pages 



.page-node-72, .page-node-166, .page-node-163, .page-node-164, .page-node-165, .page-node-41, .page-node-256 {color: var(--mw-gray-text);}
*/

.page-node-72 #konstrukcja-div, .page-node-72 #sciany-div, .page-node-72 #elewacje-div, .page-node-72 #wykonczenie-div {color: var(--mw-gray-text);}
.page-node-72 a, .page-node-166 a, .page-node-163 a, .page-node-164 a, .page-node-165 a, .page-node-41 a, .page-node-256 a {color: var(--mw-orange-3);}
.page-node-72 h2, .page-node-166 h2, .page-node-163 h2, .page-node-164 h2, .page-node-165 h2, .page-node-41 h2, .page-node-256 h2 {color: var(--mw-orange-3); margin-bottom: 12px;}

/*
.page-node-72 h1, .page-node-166 h1, .page-node-163 h1, .page-node-164 h1, .page-node-165 h1, .page-node-41 h1, .page-node-256 h1 {color: var(--mw-orange-3); margin-bottom: 12px;} */


/*


.page-node-72 .tb-megamenu .nav li a, .page-node-166 .tb-megamenu .nav li a, .page-node-163 .tb-megamenu .nav li a, .page-node-164 .tb-megamenu .nav li a, .page-node-165 .tb-megamenu .nav li a, .page-node-41 .tb-megamenu .nav li a, .page-node-256 .tb-megamenu .nav li a {color: var(--mw-gray-text);}

.page-node-72 .tb-megamenu .nav li a.active-trail, .page-node-166 .tb-megamenu .nav li a.active-trail, .page-node-163 .tb-megamenu .nav li a.active-trail, .page-node-164 .tb-megamenu .nav li a.active-trail, .page-node-165 .tb-megamenu .nav li a.active-trail, .page-node-41 .tb-megamenu .nav li a.active-trail, .page-node-256 .tb-megamenu .nav li a.active-trail {color: var(--mw-orange-3) !important;}

.page-node-72 .tb-megamenu i, .page-node-166 .tb-megamenu i, .page-node-163 .tb-megamenu i, .page-node-164 .tb-megamenu .i, .page-node-165 .tb-megamenu i, .page-node-41 .tb-megamenu i, .page-node-256 .tb-megamenu i {color: var(--mw-gray-text);}

.page-node-72 .tb-megamenu-column-inner, .page-node-166 .tb-megamenu-column-inner, .page-node-163 .tb-megamenu-column-inner, .page-node-164 .tb-megamenu-column-inner, .page-node-165 .tb-megamenu-column-inner, .page-node-41 .tb-megamenu-column-inner, .page-node-256 .tb-megamenu-column-inner {background-color: var(--mw-gray-4);}

.page-node-72 .tb-megamenu-column-inner, .page-node-166 .tb-megamenu-column-inner, .page-node-163 .tb-megamenu-column-inner, .page-node-164 .tb-megamenu-column-inner, .page-node-165 .tb-megamenu-column-inner, .page-node-41 .tb-megamenu-column-inner, .page-node-256 .tb-megamenu-column-inner {background-color: var(--mw-gray-4);}

.page-node-72 .tb-megamenu-column-inner a:hover, .page-node-166 .tb-megamenu-column-inner a:hover, .page-node-163 .tb-megamenu-column-inner a:hover, .page-node-164 .tb-megamenu-column-inner a:hover, .page-node-165 .tb-megamenu-column-inner a:hover, .page-node-41 .tb-megamenu-column-inner a:hover, .page-node-256 .tb-megamenu-column-inner a:hover {color: var(--mw-orange-3) !important;}

.page-node-72 p#site-slogan, .page-node-166 p#site-slogan, .page-node-163 p#site-slogan, .page-node-164 p#site-slogan, .page-node-165 p#site-slogan , .page-node-41 p#site-slogan, .page-node-256 p#site-slogan {color: var(--mw-orange-3);}

.page-node-164 a {
color: var(--mw-orange-4);     
text-decoration: none;
font-weight: 400;
}

.page-node-164 a:hover, a:focus {
color: var(--mw-color-1);
text-decoration: underline;
-webkit-transition: all .3s ease-in-out;
	   -moz-transition: all .2s ease-in-out;
		-ms-transition: all .2s ease-in-out;
		 -o-transition: all .2s ease-in-out;
			transition: all .2s ease-in-out;
}

*/

/* Language switcher on dark bckg 

.page-node-72 .language-switcher-language-url a, .page-node-166 .language-switcher-language-url a, .page-node-163 .language-switcher-language-url a, .page-node-164 .language-switcher-language-url a, .page-node-165 .language-switcher-language-url a, .page-node-41 .language-switcher-language-url a {color: var(--mw-gray-text);}
*/






/******** Contact us **********
#contact-photp-top {}
.contact-photo-top {}

.contact-photo-svg {width: 100%;}
.contact-photo {background-image: url("../sites/default/files/2020-12/mw-600-800-web-contact-photo.png"); width: 100%;   -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);; margin-top: -80%;}
.contact-svg-perfo {width: 100%;   -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);;}
.contact-svg-orange {width: 100%;}

.form-control:focus {
    border-color: var(--mw-orange-3);
}

.page-node-41 .layout__region--first {padding-right:8px ;}

.page-node-41 .layout__region--second {padding-left: 8px;}

@media screen and (min-width: 640px) {
.page-node-41 .layout__region--first {padding-right:2px;}

.page-node-41 .layout__region--second {padding-left:2px; }
}

@media only screen and (min-width: 640px) {
.contact-us-page .layout__region--first, .contact-us-page .layout__region--second {padding: 16px;}
.contact-us-page .webform-submission-request-phone-call-form input {width: 300px;}
.contact-us-page .webform-submission-request-phone-call-form input.form-date, .contact-us-page .webform-submission-request-phone-call-form input.form-time {width: 148px;}
}
*/


/******** Footer ***********/

.navbar-nav li a:hover {color: var(--mw-orange-3) !important;}
.footer .nav li a:hover, .nav li a:focus {background-color: transparent;}

#block-websitefooter p {text-align: center;}

.footer {background-color: var(--mw-gray-4); color: var(--mw-gray-text); background-image: url("../images/svgs/bg-footer-1880-720-v2.svg"); border: none;}
.footer h3 {color: var(--mw-orange-3);}
#footer-newslater h3 {color: var(--mw-gray-5); text-align: center; margin-top: 1em;}
#departments-numbers {margin-top: 2em;}
#footer-social-media {margin-top: 2em; }

@media (min-width: 768px) {
#block-websitefooter .layout--fourcol-section {max-width: 1440px; margin-left: auto; margin-right: auto;}
}

@media (min-width: 768px) {
ul.navbar-nav > li {float: none; text-align: left;}

#block-websitefooter .layout__region--first {}
}
@media (min-width: 1000px) {
#block-websitefooter .layout__region--fourth p {}
}
@media (max-width: 639px) {
#block-websitefooter .navbar-nav{float: left;}
}
ul.navbar-nav {margin-left: auto; margin-right: auto;}
ul.navbar-nav a {color: var(--mw-gray-text);}
ul.navbar-nav a {padding: 8px; text-decoration: underline;}
ul.layout__region--second p {color: var(--mw-gray-text);}
.copyright {color: var(--mw-gray-text); font-size: 12px;}
.footer {margin-top: 0;}

/******** Footer - social media ***********/
.social-media {position: relative; padding-bottom: 16px; padding-left: 28px}
.social-media img {width: 42px; margin: 0 16px 0 0;}



/******** Footer - narrow device display **********

@media (min-width: 661px and max-width: 992px) {
#block-websitefooter .layout__region--first {flex: 0 1 15%;}    
#block-websitefooter .layout__region--second {flex: 0 1 20%;}  
#block-websitefooter .layout__region--third {flex: 0 1 30%;}  
#block-websitefooter .layout__region--fourth {flex: 0 1 auto;}  
}

@media (min-width: 400px) and (max-width: 660px) {
#block-websitefooter .layout__region--first {flex: 0 1 50% !important;}    
#block-websitefooter .layout__region--second {flex: 0 1 50% !important;}  
#block-websitefooter .layout__region--third {flex: 0 1 50% !important;}  
#block-websitefooter .layout__region--fourth {flex: 0 1 50% !important;} 
}
*/




/* NEW FOOTER */


#copyright {display: none;}
#footer-menu li a, #footer-menu li {display: inline;}
#footer-menu .dropdown-menu {background: #777777;}
ul.navbar-nav {width: 100%; text-align: center; padding-top: 32px; padding-bottom: 16px;}
#block-websitefooter .block-webform {margin-top: 0;}



/******** Newsletter Signup **********
#block-websitefooter .webform-submission-newsletter-signup-form input {margin-top: 16px;}
#block-websitefooter .form-item-email ,#block-websitefooter .form-actions, #block-websitefooter input.form-email  {display: inline;}
#block-websitefooter .form-control {width: 40%;}


#footer-newslater input.form-email {float: left;}
#footer-newslater .webform-button--submit {float: left; position: relative; top: 16px; left: -3px;}



#block-websitefooter input {border: 1px var(--mw-orange-3);}
input[placeholder], [placeholder], *[placeholder] {
    color: var(--mw-orange-3) !important;
}

form .form-control::-webkit-input-placeholder { 
  color: var(--mw-orange-3);
}

:-moz-placeholder {
  color: var(--mw-orange-3) !important;
}

::-moz-placeholder {
  color: var(--mw-orange-3) !important;
}
*/



/******** Footer - Newsletter **********

#footer-newslater {text-align:center;}

#block-websitefooter .form-control {width: 50%;}

#footer-newslater .webform-submission-newsletter-signup-form {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

#footer-newslater input.form-email {
   width: calc(100% - 120px);
}


#footer-newslater .block-webform {
    display: inline-block;
}


#footer-newslater .webform-button--submit {
    float: right;
    position: relative;
    top: 0;
    min-width: 110px;
}
*/






/******** Grids ***********/

/*
@media (min-width: 640px) and (max-width: 1200px) {
.view-realizations .layout--fourcol-section .layout__region, .view-nowe-projekty .layout--fourcol-section .layout__region {flex: 0 1 50% !important;}
}
*/

@media (min-width: 640px) and (max-width: 639px) {
.layout--fourcol-section .layout__region, .view-nowe-projekty .layout--fourcol-section .layout__region {flex: 0 1 100% !important;}
}

@media (min-width: 640px) {
.layout--fourcol-section .layout__region, .view-nowe-projekty .layout--fourcol-section .layout__region, .view-realizations .layout--twocol-section .layout__region {flex: 0 1 50% !important;}
}


/******** Hover effects on Grids ***********/

.reaization-grid-element, .views-field-field-new-projects-image, .blog-grid-element {overflow: hidden; margin: 0%;}
.reaization-grid-element img, .views-field-field-new-projects-image img, .blog-grid-element img {object-fit: cover; transition: transform 1000ms ease-out;}
.reaization-grid-element img:hover:not(.play-button-image),
.views-field-field-new-projects-image img:hover:not(.play-button-image),
.blog-grid-element img:hover:not(.play-button-image) {
  /*transform: scale(1.08);*/
  overflow: hidden;
}


/********** New contained effect for New Projects ***********/
.video-thumbnail {
  overflow: hidden;
  display: block;
  position: relative;
}

.video-thumbnail img:not(.play-button-image) {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1s ease;
}

.video-thumbnail:hover img:not(.play-button-image) {
  transform: scale(1.08);
}


/********** New contained effect for Realizations ***********/
.reaization-grid-element {
  overflow: hidden;
  display: block;
  position: relative;
}

.reaization-grid-element img:not(.play-button-image) {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1s ease;
}

.reaization-grid-element:hover img:not(.play-button-image) {
  transform: scale(1.08);
}


/********** New contained effect for other Projects ***********/
.views-field-field-new-projects-image .field-content {
  overflow: hidden;
  display: block;
  position: relative;
}

.views-field-field-new-projects-image .field-content img:not(.play-button-image) {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1s ease;
}

.views-field-field-new-projects-image .field-content:hover img:not(.play-button-image) {
  transform: scale(1.08);
}






.realization-number {display: block;}
.reaization-grid-element {display: block;}



/******** Blog ***********/

li.blog-usernames-blog {display: none;}
.menu--menu-bloga {margin-top: 7px;}
h2#block-menubloga-menu {font-size: 20px}
.region-sidebar-first {padding-top: 4px;}
.region-sidebar-second {border: none; background: transparent;}
.menu--menu-bloga li.active a {font-weight: bold; background-color: var(--mw-gray-5);}
.views-field-field-article-date {color: var(--mw-gray-5); font-weight: bold; margin-top: 8px; margin-bottom: 8px;}

.block-field-blocknodeblog-postfield-article-date {float: left; margin-right: 40px;}

.blog-column {padding: 0 20px;}
.blog-row {}

@media  (max-width: 767px) {
.blog-column {width: 100% !important; padding: 0 10px;}    
}

.menu--menu-bloga li.active-trail a {color: var(--mw-orange-3);}
.block-field-blocknodeblog-posttitle h1 {color: var(--mw-orange-3);}
.blog-column a {color: var(--mw-orange-3)}
.blog-column .btn-primary a {color: #ffffff;}
.blog-column .btn-primary a:hover {text-decoration: none;}

@media (min-width: 768px) and (max-width: 1440px) {
.page-node-type-blog_post .col-sm-9 {width: 66.6%;}
.page-node-type-blog_post .col-sm-3 {width: 33.3%;}
}


/* Experimental Layout */

.page-node-176 .region-content {max-width: 100%;}

@media  (max-width: 1260px) {
.page-node-176 .layout__region--first, .page-node-176 .layout__region--second {    flex: 0 1 100% !important;}
}

/* Blog */
.blog-column {margin-bottom: 25px;}
.blog-column .button {margin-top: 25px;}




/* Front page Parallax 2 

.page-node-174 #parallax-div {
    padding-top: 200px;
    padding-bottom: 200px;
    overflow: hidden;
    position:relative;
    width: 100%;
    background-image: url("../images/Modular-homes-realizacja-2-narrow.jpg");
    background-attachment: fixed;
    background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    height: 500px;
    background-color: var(--mw-gray-6);
}

#parallax-div h2 {
    font-size: 3em;
    font-weight: 200;
    text-align: center;
    color: var(--mw-white);
    letter-spacing: 2px;
}

#parallax-div {
background-color: var(--mw-gray-6);
}
  

@media  (max-width: 767px) {
#parallax-div {display: none;}
}
*/




/*############## Oferta - https://www.gama.mwconstruction.group/pl/oferta ################*/

#oferta-services {
padding-top: 6em;
}

.oferta-services .icon-box {
  padding: 30px;
  margin-bottom: 4em;
  position: relative;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}

.oferta-services .icon-box::before {
  content: '';
  position: absolute;
  background: var(--mw-orange-3);
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.oferta-services .icon-box:hover::before {
  background: var(--mw-gray-6);
  top: 0;
  border-radius: 0px;
}

.oferta-services .icon {
  margin-top: 40px;
  margin-bottom: 40px;
}

.oferta-services .icon div {
  font-size: 80px;
  line-height: 1;
  color: var(--mw-orange-3);
  transition: all 0.3s ease-in-out;
    text-align: center;
    margin-top: 20% auto;
}

.oferta-services .title {
  font-weight: 700;
text-align: center;
  margin-bottom: 22px;
  font-size: 28px;
color: var(--mw-gray-6);
}

.oferta-services .description {
  font-size: 22px;
  line-height: 28px;
  margin-bottom: 22px;
}

.oferta-services .icon-box:hover .title, .oferta-services .icon-box:hover .description {
  color: var(--mw-orange-3);
}

.oferta-services .icon-box:hover .description {
  color: var(--mw-gray-text);
}

.oferta-services .icon-box:hover .icon div {
  color: var(--mw-gray-text);
}
/*############## EOF Oferta - https://www.gama.mwconstruction.group/pl/oferta ################*/







/* Modular Services */


.section-bg, .services .icon-box {
  background-color: var(--mw-gray-6);
    opacity: 0.8;
}

.services .icon-box {
  margin-bottom: 40px;
  padding: 40px;
  border-radius: 2px;
}

.services .icon-box div {
  float: left;
  color: var(--mw-orange-3);
  font-size: 56px;
}

.services .icon-box h4 {
  margin-left: 70px;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 22px;
}

.services .icon-box h4 a {
  color:  var(--mw-white);
  transition: 0.3s;
}

.services .icon-box p {
  margin-left: 70px;
  line-height: 24px;
  font-size: 18px;
    color:  var(--mw-white);
}

.services .icon-box:hover h4 a {
  color:  var(--mw-orange-3);
}



#section-4{
    margin-top: 4em;
    margin-bottom: 6em;
}

#section-oferta {
    margin-top: 2em;
}

#section-8 h2{
    color: var(--mw-orange-3);
}

#section-8 h3{
    padding-top: 0.4em;
    color: var(--mw-gray-5);
}

#section-8 p{
    padding-bottom: 4em;
}


#section-9{
    margin-top: 1em;
}

#section-11 h2{
    color: var(--mw-color-perfo2);
}

#section-11 h3{
    margin-top: 2em;
}

#section-12{
    margin-top: 60px;
}

.oferta-svg-1 {
margin-bottom: -160px;
    max-width: 400px;
}

.oferta-svg-2 {
}

.plusik {
    width: 20%;
    float: right;
}

/* Slogan Oferta - main page*/
#slogan-oferta {
margin-top: 4em;
margin-bottom: 4em;
background-color: var();
}

#slogan-oferta h2 {
margin-top: 1em;
margin-bottom: 1em;
letter-spacing: 2px;
font-weight: 200;
font-size: 1.6em;
line-height: 1.2;
color: var(--mw-orange-3);
}

.slogan-oferta-devi-bottom {
    width: 80%;
    margin-bottom: -113px;
    height: 180px;
}

/* Slogan Realizacje devi */
.slogan-realizacje-devi-top  {
    width: 100%; 
}

.slogan-realizacje-devi-bottom  {
    width: 100%;  
}


/* realizacje devi /realizacje top - do sprawdzenia */
.realizacje-devi-plus-orange, .projekty-devi-plus-gray  {
    width: 14%; 
    float: left;
    opacity: 0.4 !important;
    transform: rotate(deg);
    position:relative;
    z-index:7;
    top: 70px;
}

.realizacje-devi-plus-gray, .projekty-devi-plus-orange  {
    width: 10%;
    float: right;
    opacity: 0.4 !important;
    position:relative;
    z-index:8;
    top: -50px;
}


/* realizacje -design, plusy */
.realizacje-plus-left, .projekty-plus-left  {
    width: 14%; 
    float: left;
    margin-bottom: -390px;
    opacity: 0.4 !important;
    transform: rotate(deg);
    position:relative;
    z-index:7;
    left: 0;
    top: -40px;
}

.realizacje-plus-right, .projekty-plus-right  {
    width: 10%;
    float: right;
    margin-bottom: -270px;
    opacity: 0.4 !important;
    position:relative;
    z-index:8;
    right: 0;
    top: 20px
}

@media only screen and (max-width: 1440px) {
    .realizacje-plus-left, .projekty-plus-left {margin-bottom: -380px;}
    .realizacje-plus-right, .projekty-plus-right {margin-bottom: -280px;}
}

@media only screen and (max-width: 1024px) {
    .realizacje-plus-left, .projekty-plus-left {margin-bottom: -320px;}
    .realizacje-plus-right, .projekty-plus-right {margin-bottom: -280px;}
}

@media only screen and (max-width: 979px) {
    .realizacje-plus-left, .projekty-plus-left {margin-bottom: -300px;}
    .realizacje-plus-right, .projekty-plus-right {margin-bottom: -260px;}
}



/* Slogan realizacje - main page */
#slogan-realizacje {
padding-top: 4em;
padding-bottom: 4em;
margin-bottom: 2em;
background: var(--mw-white);
}

#slogan-realizacje h2 {
letter-spacing: 2px;
font-weight: 900;
line-height: 1.2em;
color: var(--mw-orange-3);
}

/* Slogan /budownictwo-modulowe */
#slogan-top-budownictwo-modulowe {
margin-top: 4em;
margin-bottom: 4em;
}

#slogan-top-budownictwo-modulowe h2 {
letter-spacing: 2px;
font-weight: 900;
line-height: 1.2em;
color: var(--mw-orange-3);
}

#slogan-bottom-budownictwo-modulowe {
margin-top: 4em;
margin-bottom: 4em;
}

#slogan-bottom-budownictwo-modulowe h2 {
letter-spacing: 2px;
font-weight: 900;
line-height: 1.2em;
color: var(--mw-orange-3);
}

/* Slogan /budownictwo-modulowe */
#slogan-mieszkaniowe {
padding-top: 4em;
padding-bottom: 4em;
margin-bottom: 2em;   
}

#slogan-mieszkaniowe h2 {
letter-spacing: 2px;
font-weight: 900;
line-height: 1.2em;
color: var(--mw-orange-3);
}







/* budownictwo-modulowe - nowa strona */
#nowa-strona {margin-top: 2em; margin-bottom: 4em;}

/* Slogan /obiekty-modulowe */

.page-node-63 #obiekty-modulowe-v2{background: none}

html[lang="sv"] .page-node-63 h2.block-title {
    display: none;
}

#slogan-obiekty-modulowe {
margin-top: 4em;
margin-bottom: 4em;
}

#slogan-obiekty-modulowe h2 {
letter-spacing: 2px;
font-weight: 900;
line-height: 1.2em;
color: var(--mw-orange-3);
}

#obiekty-modulowe-slider {padding-bottom: 2em;}

@media screen and (max-width: 640px) {
.oferta-svgs-01{display:none} 
.oferta-svgs-02{display:none}
.slogan-budownictwo-modulowe-devi-top{display:none}
.slogan-budownictwo-modulowe-devi-bottom{display:none}    
.slogan-oferta-devi-bottom {display: none}
.realizacje-devi-plus {display: none}
.realizacje-devi-plus-gray {width: 30%; }
.realizacje-plus-left, .projekty-plus-left {display: none}
.realizacje-plus-right, .projekty-plus-right {display: none}
.realizacje-devi-plus-orange {width: 30%; }
    
    
#slogan-oferta {
margin-bottom: 4em;
}

#slogan-oferta h2 {
letter-spacing: 1px;
font-size: 1.2em;
} 

    #section-4 {
    /*margin-top: -4em;
    margin-bottom: 2em;*/
    }
    #slogan-realizacje  {
        padding-top: 2em;
        padding-bottom: 2em;
    }  
    
}

@media screen and (max-width: 540px) {
.oferta-svgs-01{display:none}
.oferta-svgs-02{display:none}
.slogan-budownictwo-modulowe-devi-top{display:none}
.slogan-budownictwo-modulowe-devi-bottom{display:none}
.realizacje-devi-plus {display: none}
.realizacje-devi-plus-gray {width: 30%;}
.realizacje-plus-left, .projekty-plus-left {display: none}
.realizacje-plus-right, .projekty-plus-right {display: none}
.realizacje-devi-plus-orange {width: 30%;}
    
#slogan-oferta {
padding-top: 3em;
padding-bottom: 4em;
}
#section-oferta {
    margin-top: 2em;
}  
    
    #slogan-realizacje  {
        padding-top: 2em;
        padding-bottom: 2em;
    }  
    
}


@media screen and (max-width: 640px) {
.realizacje-svgs-01{display:none} 
    
#slogan-realizacje {
padding-top: 2em;
padding-bottom: 2em;
}
    
#slogan-realizacje h2{
    font-size: 1em; 
    letter-spacing: 1px;
    font-weight: 900;
    line-height: 1.2em;
}

}

@media screen and (max-width: 540px) {
.realizacje-svgs-01{display:none}
#slogan-realizacje {
padding-top: 1em;
padding-bottom: 3em;
}
}


@media only screen and (min-width: 980px) {
    li.seach-menu-item {display: none;}
}

.search-help-link {display: none;}
.path-search #search-form .form-search {max-width: 230px; margin-bottom: 25px;}
.path-search #search-form .input-group-btn {float: left;}
.path-search h3 {margin-bottom: 25px;}
.path-search .search-block-form {display: none;}
.search-block-form {float: right; margin-top: 32px; margin-right: 8px;}
.path-search li {list-style: none;}


@media only screen and (max-width: 979px) {
    .search-block-form {display: none;}
}







/* BACK TO TOP BUTTON */

#backtotop {opacity: 0.7;}
#backtotop:hover {opacity: 0.5;}



/* whatsapp call to action btn */

.whatsapp-bubble.bottom {
    bottom: 24px;
}

/* Modular objects main page svgs */
.handlowy-svg {width: 60%; margin-left: 20%;}
.uslugowy-svg {width: 60%; margin-left: 20%;}
.biurowe-svg {width: 60%; margin-left: 20%;}
.gastro-svg {width: 60%; margin-left: 20%;}
.wystawowy-svg {width: 60%; margin-left: 20%;}
.modulowe-domy-svg {width: 60%; margin-left: 20%;}

/* Modular objects offer page svgs */
.oferta-budownictwo-modulowe {width: 60%; margin-left: 20%;}
.oferta-obiekty-modulowe {width: 60%; margin-left: 20%;}
.oferta-budownictwo-mieszkaniowe {width: 60%; margin-left: 20%;}
.oferta-nowoczesna-stal-corten {width: 60%; margin-left: 20%;}
.oferta-wynajem {width: 60%; margin-left: 20%;}
.oferta-leasing {width: 60%; margin-left: 20%;}


/* test svgs - rev slider */
.slide-1 {width: 100%; height: 100%;}
.slide-2 {width: 100%; height: 100%;}
.slide-3 {width: 100%; height: 100%;}
.slide-4 {width: 100%; height: 100%;}
.slide-5 {width: 100%; height: 100%;}
.slide-6 {width: 100%; height: 100%;}
.slide-7 {width: 100%; height: 100%;}


/**************    Realizacje Grid Hover Effect   **************/
.ihe-overlay--fade-in-right:hover:after {right: auto !important;
    
}





/************** Realizacje h2 hover ********/
.ihe-overlay:after {
    font-size: 1.6em;
}

@media  (max-width: 424px) {
.ihe-overlay:after {font-size: 1em;}
}

@media  (max-width: 767px) {
.ihe-overlay:after {font-size: 1.2em;}
}


/************** zdjecie hover effect ********/
figure.effect001 {
  font-family: 'Raleway', Arial, sans-serif;
  color: var(--mw-color-perfo2);
  position: relative;
  overflow: hidden;
  /*min-width: 320px;*/
  max-width: 1440px;
  max-height: 600px;
  width: 100%;
  background: #000000;
  text-align: center;
}
figure.effect001 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
figure.effect001 img {
  opacity: 1;
  width: 100%;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}
figure.effect001 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: left;
}
figure.effect001 figcaption > div {
  float: left;
  height: 100%;
  overflow: hidden;
  width: 50%;
  position: relative;
}
figure.effect001 figcaption::before {
  position: absolute;
  top: 50%;
  bottom: 50%;
  left: 50%;
  width: 2px;
  content: '';
  opacity: 0;
  background-color: rgba(255, 255, 255, 0);
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  -webkit-transition-delay: 0.6s;
  transition-delay: 0.6s;
}
figure.effect001 h2,
figure.effect001 p {
  margin: 0;
  padding: 100px;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
  left: 0;
  -webkit-transition: opacity 0.45s, -webkit-transform 0.45s;
  transition: opacity 0.45s,-webkit-transform 0.45s,-moz-transform 0.45s,-o-transform 0.45s,transform 0.45s;
}
figure.effect001 h2 {
  text-align: right;
  display: inline-block;
  word-spacing: -0.1em;
  font-weight: 500;
  text-transform: uppercase;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-transform: translate3d(50%, 0%, 0);
  transform: translate3d(50%, 0%, 0);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
figure.effect001 h2 span {
  font-weight: 900;
}
figure.effect001 p {
  display: block;
  bottom: 0;
  text-align: left;
  font-weight: 500;
  top: 0%;
  color: var(--mw-white);
  background: var(--mw-color-perfo2);
  -webkit-transform: translate3d(-50%, 0%, 0);
  transform: translate3d(-50%, 0%, 0);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
figure.effect001 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  color: #ffffff;
}
figure.effect001:hover img {
  opacity: 0.7;
}
figure.effect001:hover figcaption h2,
figure.effect001:hover figcaption p {
  -webkit-transform: translate3d(0%, 0%, 0);
  transform: translate3d(0%, 0%, 0);
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}
figure.effect001:hover figcaption h2 {
  opacity: 1;
}
figure.effect001:hover figcaption p {
  opacity: 1;
}
figure.effect001:hover figcaption::before {
  background: var(--mw-color-perfo2);
  top: 0px;
  bottom: 0px;
  opacity: 1;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}


@media  (max-width: 424px) {
figure.effect001 h2,
figure.effect001 p {
  padding: 20px;
 
}
}

@media  (max-width: 767px) {
figure.effect001 h2,
figure.effect001 p {
  padding: 20px;
font-size: 16px;
 
}
}




/* Grid Realizacji - iHover effect */

.ih-item.square {width: 100%; height: auto; border: none; box-shadow: none;}
.ih-item a {color: var(--mw-white);opacity: }
.ih-item .info {height: 65px !important;}

.ih-item.square.effect3 .info h3 {
    text-transform: uppercase;
    letter-spacing: -1px;
 font-weight: 900;
    color: var(--mw-orange-3);
    text-align: left;
    font-size: 24px;
    padding: 10px 10px 0 0px;
    margin: 0px 0 0 0;
}


.ih-item.square.effect3 .info {
    height: 65px;
    background: var(--mw-white);
    opacity: ;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}


/* Realizacje Design */

.page-node-223 #parallax-div, .page-node-174 #parallax-div {
    margin-top: 100px;
    margin-bottom: 100px;
    overflow: hidden;
    position:relative;
    width: 100%;
    background-image: url("../images/Modular-homes-realizacja-2-narrow.jpg");
    background-attachment: fixed;
    background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    height: 500px;
    background-color: var(--mw-gray-6);
}

.page-node-223 #realizacja-kategorie-i-kontent {
    background: var(--mw-gray-text);
    padding: 30px;
    margin-bottom: 25px;
    
}

#realizacja-kategorie-i-kontent {
    align-items: center;
}

#parallax-div h2 {
    padding-top: ;
    padding-bottom: 0;
    font-size: 3em;
    font-weight: 900;
    text-align: center;
    color: var(--mw-white);
    letter-spacing: -1px;
}

#parallax-div {
background-color: var(--mw-gray-6);
}
  

@media  (max-width: 767px) {
#parallax-div {display: none;}
}


/* Realizacje Design - nowy Parallax */

.parallax{
    margin-top: 100px;
    margin-bottom: 100px;
    height: 500px;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.parallax h2 {
    padding-top: 200px;
    padding-bottom: 200px;
   font-size: 2.8em;
    font-weight: 900;
    text-align: center;
    letter-spacing: -1px;   
}

#parallax-home1-div h2 {color: var(--mw-yellow); }

#parallax-a-div h2 {color: var(--mw-yellow); }
#parallax-0-div h2 {color: var(--mw-color-1); }
#parallax-1-div h2 {color: var(--mw-color-3); }
#parallax-10-div h2 {color: var(--mw-yellow); }
#parallax-2-div h2 {color: var(--mw-white); }
#parallax-3-div h2 {color: var(--mw-yellow); }
#parallax-4-div h2 {color: var(--mw-color-3); }
#parallax-5-div h2 {color: var(--mw-white); }
#parallax-6-div h2 {color: var(--mw-color-3); }
#parallax-7-div h2 {color: var(--mw-white); }
#parallax-8-div h2 {color: var(--mw-yellow); }
#parallax-9-div h2 {color: var(--mw-color-3); }




/* TEMPORARAY DISABLED H2 IN ALL PARALLAX ON REALIZATIONS 
.parallax h2 {display: none;} */


/* Realizacje Design - nowy Parallax mobile version */

@media  (max-width: 767px) {
.page-node-223 .parallax, .page-node-174 .parallax {
background-attachment: scroll;
background-size: auto;
}
.page-node-223 h2, .page-node-174 h2 {font-size: 1.6em;
    padding-top: ;
    padding-bottom: ;}
}



/* Nowe Parallaxy - poszczegolne tla Parallaxow - DESKTOP */

.page-node-223 #parallax-0-div {
    background-image: url("../images/parallax/parallax-0.jpg");
    background-position-x: center;
}

.page-node-223 #parallax-1-div {
    background-image: url("../images/parallax/parallax-1.jpg");
    background-position-x: center;
}

.page-node-223 #parallax-10-div {
    background-image: url("../images/parallax/parallax-10.jpg");
    background-position-x: center;
}

.page-node-223 #parallax-2-div {
    background-image: url("../images/parallax/parallax-2.jpg");
    background-position-x: center;
}

.page-node-223 #parallax-3-div {
    background-image: url("../images/parallax/parallax-3.jpg");
    background-position-x: center;
}

.page-node-223 #parallax-4-div {
    background-image: url("../images/parallax/parallax-4.jpg");
    background-position-x: center;
}

.page-node-223 #parallax-5-div {
    background-image: url("../images/parallax/parallax-5.jpg");
    background-position-x: center;
}

.page-node-223 #parallax-6-div {
    background-image: url("../images/parallax/parallax-6.jpg");
    background-position-x: center;
}

.page-node-223 #parallax-7-div {
    background-image: url("../images/parallax/parallax-7.jpg");
    background-position-x: center;
}

.page-node-223 #parallax-8-div {
    background-image: url("../images/parallax/parallax-8.jpg");
    background-position-x: center;
}

.page-node-223 #parallax-9-div {
    background-image: url("../images/parallax/parallax-9.jpg");
    background-position-x: center;
}

.page-node-223 #parallax-a-div {
    background-image: url("../images/parallax/parallax-a.jpg");
    background-position-x: center;
}

.page-node-174 #parallax-home1-div, .page-node-251 #parallax-home1-div {
    background-image: url("../images/parallax/parallax-home-1.jpg");
    margin-bottom: 2em;
}





/* Nowe Parallaxy - poszczegolne tla Parallaxow - MOBILE */

@media  (max-width: 767px) {

.page-node-223 #parallax-0-div {
    background-image: url("../images/parallax/parallax-0-mob.jpg");
    background-position-x: center;
    background-position-y: 70%;
}

.page-node-223 #parallax-1-div {
background-image: url("../images/parallax/parallax-1-mob.jpg");
background-position-x: center;
background-position-y: 70%;
}

.page-node-223 #parallax-2-div {
    background-image: url("../images/parallax/parallax-2-mob.jpg");
    background-position-x: center;
    background-position-y: 70%;
}

.page-node-223 #parallax-3-div {
    background-image: url("../images/parallax/parallax-3-mob.jpg");
    background-position-x: center;
    background-position-y: 70%;
}

.page-node-223 #parallax-4-div {
    background-image: url("../images/parallax/parallax-4-mob.jpg");
    background-position-x: center;
    background-position-y: 70%;
}

.page-node-223 #parallax-5-div {
    background-image: url("../images/parallax/parallax-5-mob.jpg");
    background-position-x: center;
    background-position-y: 70%;
}

.page-node-223 #parallax-6-div {
    background-image: url("../images/parallax/parallax-6-mob.jpg");
    background-position-x: center;
    background-position-y: 70%;
}

.page-node-223 #parallax-7-div {
    background-image: url("../images/parallax/parallax-7-mob.jpg");
    background-position-x: center;
    background-position-y: 70%;
}

.page-node-223 #parallax-8-div {
    background-image: url("../images/parallax/parallax-8-mob.jpg");
    background-position-x: center;
    background-position-y: 70%;
}

.page-node-223 #parallax-9-div {
    background-image: url("../images/parallax/parallax-9-mob.jpg");
    background-position-x: center;
    background-position-y: 70%;
}

.page-node-223 #parallax-10-div {
    background-image: url("../images/parallax/parallax-10-mob.jpg");
    background-position-x: center;
    background-position-y: 70%;
}

.page-node-223 #parallax-a-div {
    background-image: url("../images/parallax/parallax-a-mob.jpg");
    background-position-x: center;
    background-position-y: 70%;
}

.page-node-174 #parallax-home1-div {
    background-image: url("../images/parallax/parallax-home-1-mob.jpg");
    background-position-x: center;
    background-position-y: 70%;
}

}

/* Fix for iPads on Parallax */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) { 
  .parallax {
 background-attachment:scroll !important;
    background-size: cover;
    height: 100%;
    overflow: hidden;
  
}
}



/* slider-realizacje 

.page-node-223 #slider-realizacje  {
padding-top: 4em;
padding-bottom: 4em;
}

@media  (max-width: 767px) {
.page-node-223 #slider-realizacje  {
padding-top: 2em;
padding-bottom: 2em;
}
}
*/

/* Menu active trail */
a.active-trail {color: var(--mw-orange-4) !important;}



/* POPUP BANNERS 

@media  (max-width: 500px) {
   .spb-popup-main-wrapper {
    display: none;} 
}


.spb-popup-main-wrapper{
    border: 1px solid var(--mw-gray-6);
    padding-left: 25px;
    padding-right: 15px;
    background-color: var(--mw-gray-6);}

   .spb-controls {right: -88px; top: -4px;}

    .spb_close {
    border: 1px solid var(--mw-orange-3);
    cursor: pointer;
    float: right;
    margin: 3px;
    padding: 0 10px;
    color: #000;
    background: var(--mw-orange-3);
}

    .spb_minimize {
    border: 1px solid var(--mw-orange-3);
    cursor: pointer;
    float: right;
    margin: 3px;
    padding: 0 11px;
    color: #000;
    background: var(--mw-orange-3);
}

.spb_center {top: 20%;}
*/

/* Lightbox effect 

.popup-background {
     position: fixed;
     top: 0px;
     left: 0px;
     width: 100%;
     height: 100%;
     background-color: var(--mw-gray-6); //whatever you want
     opacity: 0;
     transition: all 0.5 linear;
     -webkit-transition: same!
     -moz-transition: same!
     -o-transition: same!
}
.popup-background.visible {
     opacity: 1;
}
//This should be your pop-up container, this needs to have higher z-index in order to be obove background
.cd-popup {
   z-index: 9999;
}
*/






/* Experimental Header container changes to allow full screen of video bckg   */

.navbar-header {max-width: 1440px;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none;
}
    
    /*
    @media  (min-width: 1440px) {
    .navbar {max-width: 100% !important; padding-left: 7vw; padding-right: 7vw;}
    }
    */
   
   
   /* Main menu extra spacing   */
   
   
   @media  (min-width: 980px) and (max-width: 1160px) {
  .tb-megamenu .nav > li > a {padding: 15px 12px;;}
   }
   
   a.domy-modulowe-link {color: #58cee5 !important;}
   a.domy-modulowe-link:hover, .bi-house:hover {color: var(--mw-orange-4) !important;}
   
 
 
 /*.page-node-251 #front-page-video-cover_forcefullwidth {position: absolute !important;}*/
 
 /* ######### Video Slider BCKG ######### */
 
 /*.page-node-251 #slider-mobile-pl-wizka_forcefullwidth, */
  /*.page-node-251 #slider-mobile-en-wizka_forcefullwidth, 
 .page-node-174 #slider-mobile-tablet-pl-wizka-4_forcefullwidth, 
 .page-node-174 #slider-desktop-pl-wizka-4_forcefullwidth,
 .page-node-174 #slider-mobile-tablet-pl-wizka-no-video_forcefullwidth
 {position: absolute !important;}*/
 
 /*.page-node-251 #slider-desktop-pl-wizka-4_forcefullwidth, */
 /*.page-node-251 #slider-desktop-en-wizka-4_forcefullwidth, 
 .page-node-174 #slider-mobile-tablet-en-wizka-4_forcefullwidth, 
 .page-node-174 #slider-desktop-en-wizka-4_forcefullwidth ,
 .page-node-174 #slider-mobile-tablet-en-wizka-no-video_forcefullwidth
 {position: absolute !important;}
 
  .page-node-174 #slider-mobile-tablet-de-wizka-4_forcefullwidth, 
 .page-node-174 #slider-desktop-de-wizka-4_forcefullwidth,
 .page-node-174 #slider-mobile-tablet-de-wizka-no-video_forcefullwidth
 {position: absolute !important;}
 
/*.page-node-251 .main-container, .page-node-174 .main-container {margin-top: 776px;}*/

body.page-node-174 {margin-top: 0;}

.page-node-174 #block-mwconstruction3-branding, .page-node-174 .language-switcher-language-url, .page-node-174 #block-betasitebanner {position: relative; }

.page-node-174 .language-switcher-language-url {z-index: 10000; }

.page-node-174 #block-betasitebanner {display: none;}





/* ######### Isometric block ######### */

#isometric {background-color: var(--mw-white)}
#isometric h3 {font-size: 24px; color: var(--mw-white); padding-bottom: 0.4em;}	 
#isometric .box {background-size: 100%; background-position: bottom; height: 257px !important;}
#isometric .box:hover {background: none !important;}


/********** Bongo svgs ***********/

.cont-bit {width: 100%;}
.modul-1 {width: 100;}



/*p:last-child,*/ .form-group:last-child, .panel:last-child {
    margin-bottom: 2em;
}




/*Admin - Editor CSS*/
.user-logged-in .node-form {margin: 0 2.5em;}







/* Call to Action floating buttons */

#block-calltoaction {
    z-index: 9999;
    left: 0 !important;
    top: 30% !important;
    position: fixed !important;
    
}

#block-calltoaction a {color: #ffffff; display: block; width: 100%}

#block-calltoaction svg {width: 20px; height: 20px; margin-left: 4px;}


#block-calltoaction li {list-style: none;}

@media (min-width: 978px) {
    #block-calltoaction {width: 30px}
}

.mystickyelements-social-phone span, .mystickyelements-social-email span {
   padding: 5px 0; 
   display: block;
   width: 30px;
  /* height: 70px;*/
}



.mystickyelements-lists {padding-left: 0;}

@media (max-width: 979px) {
    
    .mystickyelement-lists-wrap {position: fixed; bottom:0; width: 100%;}
    .mystickyelement-lists-wrap ul {margin-bottom: 0;}
    .mystickyelement-lists-wrap ul li {width: 33.3%; float: left;}
  
   
    
    

    
    
    .mystickyelements-social-phone span, .mystickyelements-social-email span, .mystickyelements-social-whatsapp span {
        width: auto;
    }
    
    
    #block-calltoaction a {text-align: center;}
}


   

/*   DISABLE WHATSAPP BUBBLE FROM THE MODULE      */ 

.whatsapp-bubble {display: none;}

.text-to-center {text-align: center !important;}

#obiekty-modulowe-v2 {display: none;}

@media  (max-width: 639px) {
.page-node-174 .all-projects-btns a, #section-oferta-1 a {width: 100%; margin-left: auto; margin-right: auto; margin-top: 12px;}
}



@media  (min-width: 640px) {
.page-node-174 .all-projects-btns a, #section-oferta-1 a {width: 40%; margin-left: auto; margin-right: auto;}
}


#slogan-oferta {display: none;}

.all-projects-btns a, #section-oferta-1 a {background-color: #EB8D34; border: none !important;}

.page-node-174 h2, .page-node-174 h3 {font-weight: 700;}

#plansze h2 {margin-top: 40px; margin-bottom: 20px;}

p.all-projects-btns {padding: 16px;}



 
 /* CONTROL DISPLAY OF FRONT PAGE SLIDERS PER DEVICE */


    #block-sliderdesktopplwizka4, #slider-desktop-en-wizka-4_forcefullwidth, #main-photo-bottom, #slider-desktop-de-wizka-4 {
        display: none !important;
    }
    
    #slider-mobile-tablet-pl-wizka-no-video_forcefullwidth, #plansze-iso-mobile, #slider-mobile-tablet-en-wizka-no-video_forcefullwidth, #slider-mobile-tablet-de-wizka-no-video_forcefullwidth {
        display: block !important;
    }


#bez-pozwolenia {margin-top: 50px;}
#promo-video-section {padding-left: 0; padding-right:0;}

.img-responsive {width: 100%;}


/* Rule to show TB Megamenu collapsed at page load */
@media  (max-width: 979px) {
.nav-collapse {height: 0 !important; overflow: hidden !important;}
.collapse {height: auto !important; overflow: visible !important;}
}


#pdf-container {
            width: 100%;
            height: 1000px;
        }
        iframe {
            width: 100%;
            /*height: 100%;*/
            border: none;
        }


.manual-icon {
    position: relative;
    top: 6px;
    margin-right: 10px;
}








/* ###### SPRZEDAŻ CSS###### */


/* ###### SPRZEDAŻ CSS - specifically on SPRZEDAŻ ###### */

.sprzedaz .block-field-blocknoderealizationtitle,
.sprzedaz .note-to-checkout,
.sprzedaz .block-field-blocknoderealizationfield-client2, 
.sprzedaz .block-field-blocknoderealizationfield-location2,
.sprzedaz .block-field-blocknoderealizationbody,
.sprzedaz .block-views-blockpl-realizations-next-button-block-1 {
    display: none;
}

.sprzedaz #realizacja-kategorie-i-kontent {
    margin-bottom: 50px;
}

.sprzedaz .block-field-blocknoderealizationfield-specyfikacja b {
    /*color: var(--mw-orange-3);*/
}

.sprzedaz .field--name-field-sprzedaz-auto-generated-ti h2 {
    color: var(--mw-orange-3);
    margin-bottom: 30px;
    
}

#parallel-checkout {
  display: none;
}

.sprzedaz #parallel-checkout {
  display: flex;
}


.sprzedaz #note-to-checkout {
    margin-top: 50px;
}


.sprzedaz .page-node-277 .alert {
    padding: 50px;
    
}


/* don't display the cart icon onm page load */
#block-carticonblock {
  visibility: hidden;
  /* If the block's dimensions aren't fixed by its content/icon,
     give it explicit size so it reserves consistent space: */
  width: 28px;   /* match your actual icon width */
  height: 28px;  /* match your actual icon height */
}
#block-carticonblock.cart-icon-visible {
  visibility: visible;
}


.sprzedaz #block-carticonblock {
  float: right; 
  margin-right: 10px;
  position: relative;
  top: 31px;
}

@media  (max-width: 979px) {
    .sprzedaz #block-carticonblock {
        margin-right: 60px;
        position: static;
    }
    
}

.sprzedaz #desc-label, #price-label {
    font-size: 18px !important;
}


.sprzedaz #parallel-checkout {
    /*background-color: #eaeaea;*/
    gap: 32px;

}

.sprzedaz .block-field-blocknoderealizationfield-price .field--item, .sprzedaz .block-field-blocknoderealizationfield-price-m2 .field--item, .sprzedaz .block-field-blocknoderealizationfield-building-area-exact .field--item, .sprzedaz .block-field-blocknoderealizationfield-number-of-realization .field--item {
    font-weight: 400;
}

.sprzedaz .block-field-blocknoderealizationfield-price .field--item::before, .views-field-field-price .field-content::before {
    /*content: "od: ";*/
    font-size: 12px;
}

.sprzedaz .block-field-blocknoderealizationfield-price .field--item::before, .views-field-field-price-m2 .field-content::before {
    /*content: "od: ";*/
    font-size: 12px;
}



.small-label {
    font-size: 1.8rem;
}







.sprzedaz .views-field-field-price, .sprzedaz .views-field-field-price-m2 {
    position: relative;
    bottom: 31px;
    margin-bottom: -37px;
    text-align: right;
    font-size: 2.2rem;
    color: var(--mw-orange-3);
    font-weight: 700;
    padding: 0 5px;
    background-color: rgb(42,42,42,0.6);
}

.sprzedaz .realizacje-img-wrapper {
    position: relative;
    
}

.sprzedaz .views-field-field-secondary-title h3 {
    padding-top: 10px;
}

.sprzedaz .block-field-blocknoderealizationfield-specyfikacja h2 {
    font-size:30px;
}

.sprzedaz .views-field-field-secondary-title h3 {
    color: var(--mw-orange-3);
    font-family: 'Raleway';
    font-size: 22px;
    font-weight: 700;
    
}

.sprzedaz .page-node-type-realization b, .page-node-type-realization strong {
    color: var(--mw-orange-3);
    font-family: 'Raleway';
    /*
    font-size: 22px;
    */
    font-weight: 700;
}

.sprzedaz .funkcja_div, .funkcja_div h2 {
    text-align: center;
    position: absolute;
    bottom: 45%;
    margin-left: auto;
    margin-right: auto;
    width: -webkit-fill-available;
    font-size: 40px;
    color: var(--mw-orange-3);
    font-weight: 900 !important;
    font-family: 'Raleway';
    line-height: 0.6;

}

@media  (max-width: 912px) {
    .sprzedaz .funkcja_div, .funkcja_div h2 {
        bottom: 74%;
        line-height: 0.4;
    }
}

@media  (min-width: 640px) and (max-width: 912px) {
    .sprzedaz .funkcja_div, .funkcja_div h2 {
        font-size: 2.5rem;
    }
}

@media  (min-width: 250px) and (max-width: 540px) {
    .sprzedaz .funkcja_div, .funkcja_div h2 {
        font-size: 2.5rem;
    }
}

#sprzedaz.layout1440 {
    padding-left: 0;
    padding-right: 0;
}

.sprzedaz .funkcja_div a {
    background-color: #EB8D34;
    padding: 5px;
    border: 2px solid #fff;
    font-size: 12px;
    color: #ffffff;
    
}

.sprzedaz .funkcja_div .inner {
-webkit-text-stroke: #ffffff 1px;
}

.sprzedaz .views-field-field-solution h3 {
    color: var(--mw-orange-3);
    font-size: 22px;
    padding: 6px 0 0 0;
    font-weight: 600;
    font-family: 'Raleway';
}

.sprzedaz .block-field-blocknoderealizationfield-funkcja .field--item {
    color: var(--mw-orange-3) !important;
    font-size: 32px !important;
    font-family: 'Raleway' !important;
    font-weight: 500 !important;
}


/*
.sprzedaz .block-field-blocknoderealizationfield-secondary-title {
    display: none;
}

 Hide the element by default 
.block-field-blocknoderealizationfield-sprzedaz-auto-generated-ti {
  display: none;
}*/

/* Show it again if it is inside an element with .sprzedaz 
.sprzedaz .block-field-blocknoderealizationfield-sprzedaz-auto-generated-ti {
  display: block; /* or whatever its normal display should be 
}*/

@media  (max-width: 660px) {
    .sprzedaz .block-field-blocknoderealizationfield-sprzedaz-auto-generated-ti h1 {
        font-size: 28px;
    }
    
}

.sprzedaz .block-field-blocknoderealizationfield-specyfikacja {
    margin-bottom: 30px;
}


/********EOF SPRZEDAZ only CSS **********
















/* ###### REALIZACJE CSS - specifically on REALIZACJE but not display on SPRZEDAŻ ###### */

article.realization.full.clearfix:not(.sprzedaz) #note-to-checkout {
    display: none;
}






/* ###### CHECKOUT ###### */


#checkout-double-col-row {
    
}

#order-this-button {
    
}

.order-price {
   color: #EB8D34; 
}



.view-checkout-fields .view-content, .block-field-blocknoderealizationfield-paypal-payment-button {
    position: relative; /* Needed to position the pseudo-element correctly */
    margin: 20px;
    padding: 20px;
    border: 1px solid #EB8D34;
}

/* EXPERIMENTAL CAPTIOON ON DIV */
.view-checkout-fields .view-content:before {
    /*content: "Alternatywna płatność"; /* Replace 'Your Caption Here' with your actual caption */
    position: absolute;
    top: -10px; /* Half of your 'font-size' assuming font-size is about 20px */
    left: 20px; /* Align with padding */
    background: #eaeaea; /* Background matching your page's background */
    padding: 0 5px; /* Small padding on the sides of the text */
    color: #EB8D34; /* Optional: to match the border color or any color as needed */
    font-size: 16px; /* Optional: adjust based on your design */
}

.block-field-blocknoderealizationfield-paypal-payment-button:before {
    /*content: "Szybka płatność PayPal"; /* Replace 'Your Caption Here' with your actual caption */
    position: absolute;
    top: -10px; /* Half of your 'font-size' assuming font-size is about 20px */
    left: 20px; /* Align with padding */
    background: #eaeaea; /* Background matching your page's background */
    padding: 0 5px; /* Small padding on the sides of the text */
    color: #EB8D34; /* Optional: to match the border color or any color as needed */
    font-size: 16px; /* Optional: adjust based on your design */
}

/* --- POLISH (PL) --- */
:lang(pl) .view-checkout-fields .view-content:before {
    content: "Alternatywna płatność";
}

:lang(pl) .block-field-blocknoderealizationfield-paypal-payment-button:before {
    content: "Szybka płatność PayPal";
}


/* --- SWEDISH (SV) --- */
:lang(sv) .view-checkout-fields .view-content:before {
    content: "Alternativ betalning";
}

:lang(sv) .block-field-blocknoderealizationfield-paypal-payment-button:before {
    content: "Snabb betalning med PayPal";
}


/* --- German-Austrian (de-at) --- */
:lang(de-at) .view-checkout-fields .view-content:before {
    content: "Alternative Zahlungsmethode";
}

:lang(de-at) .block-field-blocknoderealizationfield-paypal-payment-button:before {
    content: "Schnelle Zahlung mit PayPall";
}


/* --- German (de) --- */
:lang(de) .view-checkout-fields .view-content:before {
    content: "Alternative Zahlung";
}

:lang(de) .block-field-blocknoderealizationfield-paypal-payment-button:before {
    content: "Sofortige PayPal-Zahlung";
}

.block-field-blocknoderealizationfield-paypal-payment-button, #parallel-checkout .view-content {
    min-height: 400px;
}

.view-checkout-fields .btn {
    background-color: #EB8D34;
    border: none;
    color: #ffffff;
    background-image: url(/themes/contrib/mwconstruction3/images/icons8-cart-50.png);
    background-repeat: no-repeat;
    background-size: 55px;
    padding-left: 55px;
}


#edit-personal, #edit-delivery {
    width: 100%;
}

@media  (min-width: 980px) {
#edit-personal {
    width: 49%;
    float: left;
}

#edit-delivery {
    width: 49%;
    float: right;
}
}

#edit-actions {
    clear: left;
}

#edit-flexbox .form-control, #edit-flexbox .form-control:focus {
    box-shadow: none;
    /*border-color: transparent !important;*/
    /*background-color: #ffffff;*/
    resize: none;
}


@media  (max-width: 700px) {
  #edit-flexbox #edit-title, #edit-flexbox #edit-project-url {
      min-height: 100px;
  }  
    
}

/*
.panel-body {
    background-color: #eeeeee;
}
*/

#checkout-confirmation-section {
    margin-bottom: 50px;
    margin-top: 50px;
    padding: 20px;
    max-width: 700px;
    /*border: 1px solid #EB8D34;*/
}

.form-item-bestellnummer {
    display: none;
}

.form-item-project-url-text {
    display: none;
}

#edit-widerrufsrecht {
    clear: both;
}

.form-item-ich-habe-die-ruckgabebedingungen-gelesen-und-bin-damit-einversta label {
    color: var(--mw-orange-3) !important;
    font-size: 14px;
    vertical-align: top;
}


/* TEMP DISABLE PAYPAL PAYMENT 
.block-field-blocknoderealizationfield-paypal-payment-button {
    display: none;
}

*/




#note-to-checkout {
    margin-top: 50px;
}


.page-node-277 .alert {
    padding: 50px;
    
}


#block-carticonblock {
  float: right; 
  margin-right: 10px;
  position: relative;
  top: 35px;
  z-index: 1;
}

#block-carticonblock .bi-cart3 {
  font-size: 28px;
  color: #f7941e; /* swap to your brand orange, or whatever matches your theme */
  line-height: 1;
}

@media  (max-width: 979px) {
    #block-carticonblock {
        margin-right: 38px;
        top: 0
        
    }
    
}

#desc-label, #price-label {
    font-size: 18px !important;
}


.webform-submission-checkout-form {
    margin-top: 50px;
}


#checkout-conformation-message {
    padding: 25px;
    margin-bottom: 25px;
}

#edit-warunki {
    clear: both;
}

#edit-warunki a {
    text-decoration: underline;
}


/* #### DISABLE DUPLICATE OF 'CHECK ALL CASE STUDIES BITTON' ON EN SITE ###*/
#block-checkallcasestudies {
    display: none;
}

#block-calltoaction {
    opacity: 0.9;
}


/* NOWE PROJEKTY BANNER */

@media  (min-width: 640px) {
#realizacje-intro {
    flex-wrap: nowrap;
    align-items: center;
}
}

#nowe-projekty-banner {
    background-color: #EB8D34;
    padding: 16px;
}

#nowe-projekty-banner p {
color: var(--mw-gray-6);
font-weight:300;

}

#nowe-projekty-banner h2 {
color: #ffffff;
font-size: 32px;
font-weight: 500;

}

#nowe-projekty-banner .button {

background-color: var(--mw-gray-4) !important;

}

#nowe-projekty-banner .all-projects-btns {
    margin-bottom: 0
}

article.sprzedaz ~ #block-ofertacenowa,
article.sprzedaz #block-ofertacenowa {
    display: block; /* Show the block */
}

#block-ofertacenowa {
    display: none; /* Hide it by default */
}



#block-ofertacenowa {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
    
}



/* ==========================================================================
   NEW PROJECTS SWIPER — #new-projects-swiper-slider / #nowe-projekty-home
   (a *different* homepage swiper — card grid of new projects, not the hero
   below. Kept separate on purpose so it's never affected by hero changes.)
   ========================================================================== */
#nowe-projekty-home, #new-projects-swiper-slider {
    margin-top: 50px;
}

#new-projects-swiper-slider {
    padding-left: 0;
    padding-right: 0;
}

#new-projects-swiper-slider h3 {
    padding-left: 10px;
    padding-right: 10px;
}

#new-projects-swiper-slider .media-library-item__name {
    display: none;
}

#new-projects-swiper-slider .field--item {
    float: none !important;
}


/* Unrelated rules that used to live in the middle of the slider block above
   — moved here unchanged so the slider section below is self-contained. */
.navbar.container, .navbar.container-fluid {
    margin-top: 0;
}

.page-node-174 .navbar {
    background-color: var(--mw-gray-3);
    max-width: 100% !important;
}

@media (min-width: 980px) {
    .tb-megamenu-nav {
        position: relative;
        top: -12px;
    }
}




.field--name-field-finish a, .field--name-field-finish span {
    margin-right: 5px;
}

.field--name-field-sprzedaz-auto-generated-ti h1 {
    margin-bottom: 1em;
}






/*###### TEMP DISABLE CROSSES DISPLAY #######*/
.projekty-devi-plus-gray {
    display: none;
}
/*###### EOF TEMP DISABLE CROSSES DISPLAY #######*/








/*###### VIDEO ANIMATION ON THE VISUALIZATIONS GRID #######*/


.views-field-field-video-animation {
    display: none;
}

.video-overlay-link {
  background: transparent;
  text-indent: -9999px;
  display: block;
}

.play-button {
    background:none;
    border:none;
    padding:0;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:0.5rem;
    margin-top: 5px;
}


.play-button-image {
    width:127px;
    height:auto;
}



.play-button-image {
  content: url("/sites/default/files/mw-play-button-v2-2-reversed.svg");
  transition: opacity 0.2s ease;
}

.play-button:hover .play-button-image {
  content: url("/sites/default/files/mw-play-button-v2-2-reversed-hover.svg");
}


.view-realizations, .view-nowe-projekty {
    margin-top: 20px;
}

/*###### EOF VIDEO ANIMATION ON THE VISUALIZATIONS GRID #######*/









/*########################## Partnerzy #########################*/

@media (max-width: 640px) {
.page-node-371 .layout__region--first {
    padding-right: 10px;
}

.page-type-partners .layout__region--second {
    padding-left: 10px;

}

}

.dystrybutorzy img {
    max-width: 300px;
}

@media (max-width: 640px) {
.dystrybutorzy img {
    max-width: 200px;
}
}

.dystrybutorzy, #local-lang-block  {
  background-color: #eaeaea;
   margin: 20px 0;
  padding: 20px;
}

.dystrybutorzy  {
 
}

.dystrybutorzy p:last-child {
    margin-bottom: 0;
}

@media (min-width: 640px) {
.partner-double-title-row .layout-builder__layout {
  display: flex;          /* make the row a flex container */
  align-items: center;    /* vertically center all its children */
}
}


.divider-text {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 3rem 0;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ccc;
}
.divider-text:not(:empty)::before {
  margin-right: 1em;
}
.divider-text:not(:empty)::after {
  margin-left: 1em;
}

.divider-text img {
    max-width: 2em;
}


.zostan-partnerem .nav-child {
    position: absolute;   /* key: not static */
  top: 0;               /* keep vertical alignment */
  left: auto !important;
  right: 100% !important;
  z-index: 1000;   
}


.tb-megamenu-item.niemcy > a::before {
  content: "";
  display: inline-block;
  width: 20px;           /* flag width */
  height: 14px;          /* flag height */
  margin-right: 6px;     /* space between flag and text */
  background-image: url('../images/germany-flag-png-large.png'); /* path to your flag */
  background-size: cover;
  background-position: center;
  vertical-align: middle;
}

.tb-megamenu-item.rumunia > a::before {
  content: "";
  display: inline-block;
  width: 20px;           /* flag width */
  height: 14px;          /* flag height */
  margin-right: 6px;     /* space between flag and text */
  background-image: url('../images/romania-flag-png-large.png'); /* path to your flag */
  background-size: cover;
  background-position: center;
  vertical-align: middle;
}

.tb-megamenu-item.belgia > a::before {
  content: "";
  display: inline-block;
  width: 20px;           /* flag width */
  height: 14px;          /* flag height */
  margin-right: 6px;     /* space between flag and text */
  background-image: url('../images/belgium-flag-medium.png'); /* path to your flag */
  background-size: cover;
  background-position: center;
  vertical-align: middle;
}

.tb-megamenu-item.holandia > a::before {
  content: "";
  display: inline-block;
  width: 20px;           /* flag width */
  height: 14px;          /* flag height */
  margin-right: 6px;     /* space between flag and text */
  background-image: url('../images/netherlands-flag-medium.png'); /* path to your flag */
  background-size: cover;
  background-position: center;
  vertical-align: middle;
}

.tb-megamenu-item.norwegia > a::before {
  content: "";
  display: inline-block;
  width: 20px;           /* flag width */
  height: 14px;          /* flag height */
  margin-right: 6px;     /* space between flag and text */
  background-image: url('../images/norway-flag-medium.png'); /* path to your flag */
  background-size: cover;
  background-position: center;
  vertical-align: middle;
}

.tb-megamenu-item.szwajcaria > a::before {
  content: "";
  display: inline-block;
  width: 20px;           /* flag width */
  height: 14px;          /* flag height */
  margin-right: 6px;     /* space between flag and text */
  background-image: url('../images/switzerland-flag-medium.png'); /* path to your flag */
  background-size: cover;
  background-position: center;
  vertical-align: middle;
}

.tb-megamenu-item .active-trail {
   background: transparent !important;
}

.tb-megamenu-item .active-trail {
    color: var(--mw-gray-6) !important;
}


@media (max-width: 979px) {
  .tb-megamenu-item .active-trail {
      color: #ffffff !important;
  }  
}


/*########################## EOF Partnerzy #########################*/















/*### COPIED FROM jacek-custom-style.css ###*/
/*.entity-pager-item-prev a {display: none;}
.entity-pager-item-prev a:after {content: url(/sites/default/files/svg-icons/chevron-left.svg); position: relative; top: 35px; left: 40px; }

.entity-pager-item-next a:after {content: url(/sites/default/files/svg-icons/chevron-right.svg); position: relative; top: 35px; right: 10px;}
*/

@media only screen and (min-width: 640px) {
.layout--threecol-section--33-34-33 > .layout__region--first,
.layout--threecol-section--33-34-33 > .layout__region--second,
.layout--threecol-section--33-34-33 > .layout__region--third
{
    flex: 0 1 calc(33.3%)
    
}
}

@media only screen and (min-width: 640px) {
#contact-us-forms > .layout__region--first,
#contact-us-forms > .layout__region--second,
#contact-us-forms > .layout__region--third
{
    flex: 0 1 calc(33.3% - 32px)
    
}
}

/* New Search engine */

.view-szukaj .views-row {margin: 30px 0;}
.path-search .control-label {display: none;}
.path-search .form-actions {float: left; position: relative; right: 10px;}
#views-exposed-form-szukaj-page-1 {width: 55%; margin-left: 26%; margin-right:auto;}
.path-search input.form-text {width: 100%;}
.path-search  .form-type-textfield {width: 78%}
.path-search .views-exposed-form {}
.view-szukaj {margin-bottom: 60px}



/* Multilingual RevSlider  */

.no-rev-slider {display: none;}


/*    Hyperlinks in contacts    */

.region-footer a {color: var(--mw-gray-text) !important; font-weight: 200;}


.box-handlowe:hover {
    background-image: url(/themes/contrib/mwconstruction3/images/sample-animated-gif.gif) !important;
}
/*######################## EOF COPIED FROM jacek-custom-style.css #####################*/







/*########################  LANGUAGE SPECIFIC CSS #####################*/
/* REMOVE ITEMS FROM SV AND AT SITES */
/* Precise ID targeting (no :has needed) */
html[lang="sv"] li[data-id="menu_link_content:57015766-a7eb-45e0-820c-7186e541de3d"],
html[lang="de-at"] li[data-id="menu_link_content:57015766-a7eb-45e0-820c-7186e541de3d"]{
    display: none !important;
}

/* If you can't find the data-id for the others, 
   target the link and hide it, though the LI bullet might remain */
html[lang="sv"] a[href="/sv/blog"],
html[lang="sv"] a[href="/sv/katalog"],
html[lang="en"] a[href="/en/node/265"],
html[lang="de-at"] a[href="/at/blog"],
html[lang="de-at"] a[href="/at/katalog"],
html[lang="de"] a[href="/de/node/423"],
html[lang="de"] a[href="/de/node/424"],
html[lang="de"] a[href="/de/node/429"],
html[lang="de"] a[href="/de/node/401"],
html[lang="de"] a[href="/de/node/432"]

{
    display: none !important;
}

/* If on the blog page, hide the Swedish option in the language switcher */
.path-blog .language-link[lang="sv"], 
.path-blog .language-switcher-language-url .sv a,
.path-blog .language-link[lang="de-at"], 
.path-blog .language-switcher-language-url .de-at a{
    display: none;
}




html[lang="sv"] .zostan-partnerem,
html[lang="sv"] .contact-menu-item a:after,
html[lang="sv"] .menu-leasing,
html[lang="de-at"] .zostan-partnerem,
html[lang="de-at"] .contact-menu-item a:after,
html[lang="de-at"] .menu-leasing,
html[lang="de-at"] #block-languageswitcherinterfacetext,
html[lang="de-at"] .sprzedaz-menu,
html[lang="en"] .sprzedaz-menu,
html[lang="de"] #netflix-banner,
html[lang="pl"] #oferta-full-width,
html[lang="en"] #oferta-full-width,
html[lang="sv"] #oferta-full-width,
html[lang="de-at"] #oferta-full-width
{
    display: none !important;
}


/* REMOVE white space from above grayed offer section DE */
html[lang="de"] #block-mwconstruction3-views-block-three-fields-slider-block-block-5 .form-group:last-child {
    margin-bottom: 0;
}

html[lang="de"] .page-node-174 .content {
    margin-top:0;
}
/* EOF REMOVE white space from above grayed offer section DE */

/* Note: the previous Swedish-only (html[lang="sv"]) override for
   .three-fields-slider h2 has been removed. It patched a legibility issue
   under the old centered-text layout with a radial-gradient background box
   just for the SV site. The new hero design (linear gradient overlay across
   the whole slide) fixes legibility for every language/site the same way,
   so the per-language patch is no longer needed. Please spot-check
   mwmoduler.se after deploying to confirm. */

/*######################## EOF LANGUAGE SPECIFIC CSS #####################*/







/*####################### CLS FIX FOR THE TWIG OVERRIDES ###################*/
.reaization-grid-element,
.realization-grid-element,
.views-field-field-new-projects-image,
.field-content.reaization-grid-element,
.field-content.realization-grid-element {
  min-height: 1px;
}

.reaization-grid-element .video-wrapper,
.realization-grid-element .video-wrapper,
.views-field-field-new-projects-image .video-wrapper {
  position: relative;
  width: 100%;
}

.reaization-grid-element .video-thumbnail,
.reaization-grid-element .video-player,
.realization-grid-element .video-thumbnail,
.realization-grid-element .video-player,
.views-field-field-new-projects-image .video-thumbnail,
.views-field-field-new-projects-image .video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.reaization-grid-element .video-thumbnail img,
.reaization-grid-element .video-player video,
.realization-grid-element .video-thumbnail img,
.realization-grid-element .video-player video,
.views-field-field-new-projects-image .video-thumbnail img,
.views-field-field-new-projects-image .video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reaization-grid-element .play-button-image,
.realization-grid-element .play-button-image,
.views-field-field-new-projects-image .play-button-image {
  width: 127px;
  height: 36px;
  display: block;
}

.reaization-grid-element .play-button,
.realization-grid-element .play-button,
.views-field-field-new-projects-image .play-button {
  width: 127px;
  height: 36px;
  padding: 0;
  line-height: 0;
}

/*#######################  EOF CLS FIX FOR THE TWIG OVERRIDES ###################*/








/*###################### youtube image links ################################*/

#triple-youtube-thumbnail .layout__region {
    padding: 5px;
}


.youtube-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  text-decoration: none;
}

.youtube-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* optional dark overlay */
.youtube-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.2);
  z-index: 1;
}

/* red YouTube-style button */
.youtube-cover::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 64px;
  transform: translate(-50%, -50%);
  background: #ff0000;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,.35);

  /* white play triangle */
  clip-path: path("M 37 20 L 37 44 L 60 32 Z");
}

/*###################### EOF youtube image links ################################*/










/*########################################*/
/*########################################*/
/*#### July 2026 CSS improvements ####*/

/* =========================================================
   M&W CONSTRUCTION — MODERN ROUNDED-CORNER LAYER
   Paste this AFTER your existing theme stylesheet so it
   can override the current (mostly border-radius:0) rules.
   ========================================================= */



/* ---------- 1. Buttons & CTAs ---------- 
.btn,
a.button,
.button,
button.form-submit,
input[type="submit"],
.tb-megamenu-button {
  border-radius: var(--radius-md) !important;
  overflow: hidden;
}
*/

/* ---------- 2. Search box & form controls ---------- */
#block-searchform .form-control,
#block-searchform input.form-search,
input.form-control,
input.form-search,
select {
  border-radius: var(--radius-pill) !important;
}
textarea {
    border-radius: var(--radius-lg) !important;
}

@media (min-width: 980px) {
#block-searchform .input-group-btn {
    left: -40px;
    font-size: 0 !important;
  line-height: 0;
  position: relative;
    
}
#block-searchform .input-group-btn .btn::before {
    font-family: "bootstrap-icons" !important;
    content: "\f52a";
    font-size: 16px;
    line-height: 1;
    color: #555;
    display: inline-block;
  }
}

#block-searchform button {
    border: none;
}

.view-szukaj .form-actions {
    float: right;
}




/* ---------- 3. Project / realization card images ---------- */
/* Scoped to the specific grids so the hero's own images
   (which also use .img-responsive) are never touched */
.view-nowe-projekty img.img-responsive,
.view-realizations img.img-responsive,
.view-nowe-projekty .video-thumbnail,
.view-realizations .video-thumbnail,
.view-nowe-projekty .video-wrapper,
.view-realizations .video-wrapper,
.block,
.view-content,
button,
.eu-cookie-withdraw-tab, .find-more-button,
.video-thumbnail,
.view-blog img
{
  border-radius: var(--radius-lg) !important;
  /*overflow: hidden;*/
}

/* General inline content images (e.g. blog/body content),
   still excluding hero + full-width bands via the reset block below */
.field--type-image img,
.field--name-body img {
  border-radius: var(--radius-lg);
}

/* ---------- 4. Floating contact icons (phone / email / WhatsApp) ---------- */
#block-carticonblock a {
  border-radius: var(--radius-pill) !important;
}

/* ---------- 5. Back-to-top button ---------- */
#backtotop {
  border-radius: var(--radius-pill) !important;
}

/* ---------- 6. Dropdown / mega menu panels ---------- */
.dropdown-menu,
.tb-megamenu-submenu {
  border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
  overflow: hidden;
}

/* =========================================================
   EXCEPTIONS — keep these sharp (hero + other full-width /
   full-bleed sections). Kept at the end with !important so
   they always win over the rounding rules above.
   ========================================================= */

#navbar,                                  
#block-mwconstruction3-views-block-three-fields-slider-block-block-1 img,
#se-loga-klientow,
.block-views-blocklogo-klienta-v2-block-1,
.view-three-fields-slider-block img
/*
#netflix-text,                             
#plansze-isometric,                        
#plansze-isometric *,
#sliding-popup,                           

footer.footer,
 */{
  border-radius: 0 !important;
}


.play-button-image {
    border-radius: 14px;
}


a.youtube-cover, .youtube-cover::before {
    background: transparent;
}


/* Image/video block */
.views-field-field-new-projects-image {
  position: relative;
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumbnail,
.video-thumbnail a {
  display: block;
  height: 100%;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.layout__region--third:hover .video-thumbnail img {
  transform: scale(1.05);
}

.video-player {
  position: absolute;
  inset: 0;
}

.video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay-link {
  position: absolute;
  inset: 0;
}

/* Play button — positioned bottom-left over the image, like your screenshot */
.video-button-below {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
}

.play-button {
  background: rgba(0, 0, 0, 0.55);
  border: none;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition: background 0.2s ease, transform 0.2s ease;
}



#triple-youtube-thumbnail > .layout__region {
  overflow: hidden;
}

#triple-youtube-thumbnail > .layout__region .youtube-cover img {
  transition: transform 0.4s ease;
  display: block;
  width: 100%;
  height: auto;
}

#triple-youtube-thumbnail > .layout__region:hover .youtube-cover img {
  transform: scale(1.08);
}

/* Round the actual clipping container so corners never go sharp during hover */
#triple-youtube-thumbnail .youtube-cover {
  border-radius: 16px;
}

/* optional but recommended: the img's own radius is now redundant since it's clipped,
   but keeping it doesn't hurt — no change needed there */

/* Recolor the SVG icon itself (since it's a real <img>, mask works here) */
.play-button-image {
  width: 20px;
  height: 20px;
  -webkit-mask: url("/sites/default/files/mw-play-button-v6.svg") no-repeat center;
  mask: url("/sites/default/files/mw-play-button-v6.svg") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  background-color: #fff;
  border: 2px solid #ffffff;
}

/* Text content */
.views-field-field-number-of-realization,
.views-field-field-solution {
  padding: 0 18px;
  font-size: 13px;
  color: #8a8a8a;
  line-height: 1.5;
}

.views-field-field-number-of-realization {
  padding-top: 5px;
}

.views-label-field-number-of-realization {
  font-weight: 500;
}

.views-field-field-number-of-realization .field-content,
.views-field-field-solution .field-content {
  display: inline;
}

.views-field-title {
  padding: 6px 18px 20px;
}

.views-field-title a {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  text-decoration: none;
}

.views-field-title a:hover {
  color: #d64545; /* swap for your brand accent */
}












@media (min-width: 980px) {
.mystickyelements-social-phone span {
    border-radius: 0 var(--radius-md) 0 0;
}

#mystickyelements-social-whatsapp span {
    border-radius: 0  0 var(--radius-md) 0;
}
}






/* ==========================================================================
   Modern styling for the M&W Construction contact forms
   Scoped to #contact-us-forms (kontakt page) AND .section-contact-on-pages
   (case-study / other pages) so it works site-wide
   ========================================================================== */
#contact-us-forms,
.section-contact-on-pages {
  
  gap: 32px;
  
}

.layout .layout__region {min-width: 0}

#contact-us-forms .layout__region,
.section-contact-on-pages .layout__region,
.shadowed-col .col,
.webform-submission-checkout-form #edit-flexbox,
.webform-submission-checkout-form #edit-personal,
.webform-submission-checkout-form #edit-delivery,
.webform-submission-checkout-form #edit-warunki{
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 28px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
#contact-us-forms .layout__region:hover,
.section-contact-on-pages .layout__region:hover,
.shadowed-col .col:hover
{
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}



/* Section headings ("Write to us" / "Request a phone call") */
#contact-us-forms h2,
#contact-us-forms h3,
.section-contact-on-pages h2,
.section-contact-on-pages h3 {
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
#contact-us-forms h2::after,
#contact-us-forms h3::after,
.section-contact-on-pages h2::after,
.section-contact-on-pages h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--mw-orange-3);
}

#contact-us-forms h3::after {
    background: var(--mw-white);
}

/* Field wrappers */
#contact-us-forms .form-group,
#contact-us-forms .form-item,
.section-contact-on-pages .form-group,
.section-contact-on-pages .form-item {
  margin-bottom: 18px;
}

/* Inputs, textareas, selects */
#contact-us-forms .form-control,
.section-contact-on-pages .form-control {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #d8dce1;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  color: #1f2328;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
#contact-us-forms .form-control::placeholder,
.section-contact-on-pages .form-control::placeholder {
  color: #8a8f98;
  font-weight: 400;
}
#contact-us-forms .form-control:hover,
.section-contact-on-pages .form-control:hover {
  border-color: #c3c8ce;
}
#contact-us-forms .form-control:focus,
.section-contact-on-pages .form-control:focus {
  outline: none;
  border-color: var(--mw-orange-3);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.18);
}
#contact-us-forms textarea.form-control,
.section-contact-on-pages textarea.form-control {
  min-height: 150px;
  resize: vertical;
  line-height: 1.5;
}

/* Date / time inputs (Request a phone call form) */
#contact-us-forms input[type="date"].form-control,
#contact-us-forms input[type="time"].form-control,
.section-contact-on-pages input[type="date"].form-control,
.section-contact-on-pages input[type="time"].form-control {
  cursor: pointer;
}

/* reCAPTCHA spacing */
#contact-us-forms .g-recaptcha,
#contact-us-forms iframe[title*="recaptcha"],
.section-contact-on-pages .g-recaptcha,
.section-contact-on-pages iframe[title*="recaptcha"] {
  margin: 6px 0 22px;
}

/* Submit button */
#contact-us-forms .webform-button--submit,
#contact-us-forms .btn-primary,
.section-contact-on-pages .webform-button--submit,
.section-contact-on-pages .btn-primary {
  /*background: linear-gradient(135deg, #ff8c3a, var(--mw-orange-3));*/
  border: none;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 12px 32px;
  border-radius: 999px;
  cursor: pointer;
  /*box-shadow: 0 6px 16px rgba(255, 106, 0, 0.35);*/
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
#contact-us-forms .webform-button--submit:hover,
#contact-us-forms .btn-primary:hover,
.section-contact-on-pages .webform-button--submit:hover,
.section-contact-on-pages .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255, 106, 0, 0.45);
  filter: brightness(1.05);
}
#contact-us-forms .webform-button--submit:active,
#contact-us-forms .btn-primary:active,
.section-contact-on-pages .webform-button--submit:active,
.section-contact-on-pages .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.35);
}
#contact-us-forms .webform-button--submit:focus-visible,
#contact-us-forms .btn-primary:focus-visible,
.section-contact-on-pages .webform-button--submit:focus-visible,
.section-contact-on-pages .btn-primary:focus-visible {
  outline: 3px solid rgba(255, 122, 26, 0.5);
  outline-offset: 2px;
}

/* Responsive stacking on smaller screens */
@media (max-width: 767px) {
  #contact-us-forms,
  .section-contact-on-pages {
    display: flex;
    flex-direction: column;
  }
  #contact-us-forms .layout__region,
  .section-contact-on-pages .layout__region {
    margin-bottom: 20px;
  }
}


@media screen and (min-width: 640px) {
    .layout--twocol-section.layout--twocol-section--50-50 > .layout__region--first, .layout--twocol-section.layout--twocol-section--50-50 > .layout__region--second {
        flex: 0 1 calc(50% - 16px);
    }
}


@media screen and (max-width: 960px) {
#realizacja-kategorie-i-kontent > .layout__region--first,
#realizacja-kategorie-i-kontent > .layout__region--second {
    flex: 0 1 100% !important;
}
}


@media screen and (min-width: 961px) {
#realizacja-kategorie-i-kontent {
    gap: 32px
}
#realizacja-kategorie-i-kontent > .layout__region--first {
    flex: 0 1 calc(33% - 32px) !important;
}
#realizacja-kategorie-i-kontent > .layout__region--second {
    flex: 0 1 66% !important;
}
}




/*
@media screen and (max-width: 860px) {
.section-contact-on-pages .layout__region--first,
.section-contact-on-pages .layout__region--second {
    flex: 0 1 100% !important;
}
}
*/

#realizacja-kategorie-i-kontent > .layout__region--first,
#realizacja-kategorie-i-kontent > .layout__region--second,
.section-contact-on-pages .layout__region--first,
.section-contact-on-pages .layout__region--second {
    margin-top: 20px;
}

#team-intro {
    margin-top: 60px;
}

#mw-team .layout__region, #mw-team-de .layout__region {
    padding: 5px;
}






/* ===== Team intro heading ("Poznaj Nasz Zespół") ===== */
#team-intro {
  padding: 20px;
  text-align: center;
}

#team-intro h2 {
  font-size: 34px;
  font-weight: 700;
  color: #EB8D34;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}



#team-intro p {
  max-width: 640px;
  margin: 0 auto;
  color: #666;
  font-size: 17px;
  line-height: 1.6;
}

/* ===== Team section wrapper ===== */
#mw-team, #mw-team-de {
  padding: 30px 20px 70px;
  box-sizing: border-box;
  column-gap: 24px;
  row-gap: 30px;
  flex-wrap: wrap;
  align-items: stretch;
}

#mw-team .layout__region, #mw-team-de .layout__region {
  box-sizing: border-box;
  padding: 0;
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
}

/* Fix: these inner Drupal wrapper <section> elements are flex items too,
   and were shrinking to fit their text content instead of filling the
   column — this is what caused each card/image to be a different width */
#mw-team .layout__region > section, #mw-team-de .layout__region > section {
  width: 100%;
  min-width: 0;
}

#mw-team .layout__region--content, #mw-team-de .layout__region--content {
  min-width: 0;
}

#mw-team .layout__region--content > section, 
#mw-team-de .layout__region--content > section{
  width: 100%;
  min-width: 0;
}

/* ===== Each team member becomes a card ===== */
#mw-team .field--name-body, #mw-team-de .field--name-body {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  min-width: 0;
}

#mw-team .field--name-body:hover, #mw-team-de .field--name-body:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

/* Image wrapper (the <p> holding the <img>) */
#mw-team .field--name-body p:first-child, 
#mw-team-de .field--name-body p:first-child {
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

#mw-team .field--name-body img, #mw-team-de .field--name-body img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

#mw-team .field--name-body:hover img, #mw-team-de .field--name-body:hover img {
  transform: scale(1.06);
}

/* Name */
#mw-team .field--name-body h3, #mw-team-de .field--name-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #2b2b2b;
  margin: 20px 20px 4px;
  text-align: center;
}

/* Role label */
#mw-team .field--name-body p:last-child, #mw-team-de .field--name-body p:last-child {
  margin: 0 20px 24px;
  padding-top: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #EB8D34;
  text-align: center;
}

/* ===== Responsive: stack to single column on small screens ===== */
@media (max-width: 760px) {
  #mw-team .layout__region, #mw-team-de .layout__region {
    flex: 1 1 100%;
  }
  
  /*
  #mw-team .field--name-body img {
    height: 320px;
  }*/
}


.form-type-search .button {
    /* font-size: initial !important;*/
    height: 32px;
}


#contact-us-forms .layout__region--first {
    background: var(--mw-gray-5);
}

#contact-us-forms .layout__region--first .layout__region--content,
#contact-us-forms .layout__region--first .layout__region--content:hover

{
    box-shadow: none;
    background: none;
    border: none;
    color: var(--mw-white);
}

#contact-us-forms .layout__region--second, #contact-us-forms .layout__region--third {
    background: var(--mw-white);
}

/*
.page-node-41 #contact-details-on-contact {
    border-top: 1px solid var(--mw-gray-5);
    border-bottom: 1px solid var(--mw-gray-5);
}
*/

#contact-details-on-contact h3 {
    margin-top: 2em;
}

#block-mwconstruction3-mwlocationmap {
    margin-bottom: -25px;
}


img.linkedin-img {
    width: 36px !important;
}


/* RETRO TEAM IMAGES */
#mw-team img:not(.linkedin-img), #mw-team-de img:not(.linkedin-img) {
    filter: grayscale(100%);
}

#mw-team img:not(.linkedin-img):hover, #mw-team-de img:not(.linkedin-img):hover {
    filter:
        grayscale(60%)
        sepia(25%)
        contrast(90%)
        brightness(105%);
}

#mw-team h3, #mw-team-de h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#mw-team h3 .linkedin-img, #mw-team-de h3 .linkedin-img {
    width: 36px;
    height: 36px;
    display: block;
}

.mw-team-wrapper .container {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}


p.position-contact {
margin: 0 20px 24px;
  padding-top: 4px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

p.position-contact a {
    font-weight: 600;
    text-decoration: none;
    color: var(--mw-gray-6);
}



/* Fix: these inner Drupal wrapper <section> elements are flex items too,
   and were shrinking to fit their text content instead of filling the
   column — this is what caused each card/image to be a different width */
#mw-team-de .layout__region > section {
  width: 100%;
  min-width: 0;
}

#mw-team-de .layout__region--content {
  min-width: 0;
}

#mw-team-de .layout__region--content > section {
  width: 100%;
  min-width: 0;
}

/* ===== Each team member becomes a card ===== */
#mw-team-de .field--name-body {
  display: flex;
  flex-direction: column;
  background: #fff;
  /*border-radius: 16px;*/
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  min-width: 0;
}

#mw-team-de .field--name-body:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

/* Image wrapper (the <p> holding the <img>) */
#mw-team-de .field--name-body p:first-child {
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

#mw-team-de .field--name-body img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

#mw-team-de .field--name-body:hover img {
  transform: scale(1.06);
}

/* Name */
#mw-team-de .field--name-body h3
 {
  font-size: 20px;
  font-weight: 700;
  color: #2b2b2b;
  margin: 20px 20px 4px;
  text-align: center;
}





/* Role label */
#mw-team-de p.position {
  margin: 0 20px 24px;
  padding-top: 4px;
  font-size: 14px;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #EB8D34;
  text-align: center;
}

/* ===== Responsive: stack to single column on small screens ===== */
@media (max-width: 760px) {
  #mw-team-de .layout__region {
    flex: 1 1 100%;
  }
  
  /*
  #mw-team-de .field--name-body img {
    height: 320px;
  }*/
}








.mw-team-wrapper .container {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}


p.position-contact {
margin: 0 20px 24px;
  padding-top: 4px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

p.position-contact a {
    font-weight: 600;
    text-decoration: none;
}



#mw-team-de {
  padding: 30px 0px 70px;
  box-sizing: border-box;
  flex-wrap: wrap;
  align-items: stretch;
  display: flex;        /* ADD — this is what actually activates the flex properties below */
  gap: 0;                /* CHANGE from "30px 24px" */
  row-gap: 30px;         /* ADD — keeps vertical spacing when cards wrap on mobile */
  column-gap: 0;          /* ADD — horizontal spacing already comes from .col-lg-3 padding */
}

#mw-team-de > [class*="col-"] {
  display: flex;
}
#mw-team-de > [class*="col-"] > .block-layout-builder.block-inline-blockbasic {
  display: flex;
  width: 100%;
}
#mw-team-de .layout--onecol {
  display: flex;
  width: 100%;
}
#mw-team-de .field--name-body {
  height: 100%;
}

#mw-team-de .col-md-3, #mw-team-de .col-lg-3 {
    padding-left: 15px;
    padding-right: 15px;
}












/*#### EOF July 2026 CSS improvements ####*/
/*########################################*/



/*############### Imported from font awesome megamenu only item ###############*/
.tb-megamenu-button .fa.fa-reorder {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 16px;
  vertical-align: middle;
  font-size: 0;
}
.tb-megamenu-button .fa.fa-reorder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}

/*############### EOF Imported from font awesome megamenu only item ###############*/






p, ul {
  /*font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); /* fluid: ~16px mobile, 18px desktop */
  line-height: 1.65;
  font-weight: 400 !important;          /* a bit heavier than 300 for better legibility at small sizes */
  margin: 0 0 1.1em;
  text-wrap: pretty;         /* reduces awkward single-word last lines, in supporting browsers */
}


p:last-child {
  margin-bottom: 0;
}



@media (max-width: 480px) {
  p {
    line-height: 1.55;
  }
}


:root {
  --heading-font: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --heading-color: #eb8d34;   /* default for headings on light backgrounds */
  --heading-accent: #eb8d34;  /* your existing orange accent color */
}

h1 {
  position: relative;      /* <-- this is what's missing */
  padding-bottom: 10px;    /* gives the underline some breathing room below the text */
}

h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: var(--heading-color);
}

h1, h2, h3 {
  font-family: var(--heading-font);
  color: var(--heading-color);
  line-height: 1.2;
  margin: 0 0 0.2em;
}

h1 {
  font-size: clamp(2.2rem, 1.76rem + 2.2vw, 3.575rem);   /* ~35px on mobile to 57px on desktop */
  font-weight: 800;
  line-height: 1.1;
}
h2 {
  font-size: clamp(1.65rem, 1.375rem + 1.375vw, 2.475rem); /* ~26px to 40px */
  font-weight: 700;
}
h3 {
  font-size: clamp(1.58rem, 1.39rem + 0.95vw, 2.21rem); /* ~25px to 35px */
  font-weight: 700;
}

/* For headings placed over photos or dark/colored backgrounds,
   e.g. the netflix-banner overlay and the slider captions you already have in white */
.heading--on-dark {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* For the orange section titles like "Budynki modułowe dla Twojej branży" */
.heading--accent {
  color: var(--heading-accent);
}








/* ===================================================================
   REALIZACJA PAGE — BLOCK RESHAPING FIXES
   Target: gama.mwconstruction.group /pl/realizacje/salon-audi-...
   Scope : (1) #realizacja-kategorie-i-kontent .layout__region--first
           (2) #realizacja-main-text (SEO body text under the webforms)
   No copy changes — layout/spacing/shadow only.
   Drop this at the end of pawilony-custom-style.css (or as a new
   Asset Injector CSS snippet) so it loads after the base theme file.
   Uses the site's existing tokens (--radius-lg, --mw-orange-3, etc.)
   and mirrors the rounded-corner / soft-shadow card language already
   used on the webform blocks (#contact-us-forms .layout__region).
   =================================================================== */


/* ===================================================================
   AREA 1 — Property / spec list with icons
   #realizacja-kategorie-i-kontent .layout__region--first
   =================================================================== */

/* The theme forces align-items:center on this flex row, which is why
   the two columns end up different heights — switch back to stretch
   so .layout__region--first matches .layout__region--second exactly */
#realizacja-kategorie-i-kontent {
  align-items: stretch;
}

/* Whole list becomes one card, matching the webform card style —
   one property per row (single column) instead of the 2-up grid,
   and the extra rows now share the leftover height evenly so the
   card's bottom edge lines up with the webform column's bottom edge */
#realizacja-kategorie-i-kontent > .layout__region--first {
  display: grid;
  grid-template-columns: 1fr;
  align-content: space-between;
  gap: 12px;
  height: 100%;
  padding: 35px 0;
  /*
  background: var(--mw-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  
  box-shadow: rgba(0, 0, 0, 0.08) 0px 8px 24px;
  */
}

.page-node-type-nowe_projekty #realizacja-kategorie-i-kontent > .layout__region--first {
    padding: 22px 0; 
}


/* Each property becomes its own tidy row/chip instead of a bare line */
#realizacja-kategorie-i-kontent .layout__region--first section.bi {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin: 0;
  background: var(--mw-gray-text);
  border-radius: var(--radius-md);
  transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

#realizacja-kategorie-i-kontent .layout__region--first section.bi:hover {
  background: var(--mw-white);
  box-shadow: rgba(0, 0, 0, 0.12) 0px 8px 18px;
  transform: translateY(-2px);
}

/* Reset the old absolutely-nudged icon and turn it into a round badge */
#realizacja-kategorie-i-kontent .layout__region--first section.bi::before {
  position: static;
  top: auto;
  left: auto;
  margin-top: 0;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--mw-orange-3);
  background: rgba(235, 141, 52, 0.12);
  border-radius: var(--radius-pill);
}

/* Label stacked above value instead of the old float/inline run-on */
#realizacja-kategorie-i-kontent .layout__region--first .field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

#realizacja-kategorie-i-kontent .layout__region--first .field--label {
  float: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mw-gray-5);
}

#realizacja-kategorie-i-kontent .layout__region--first .field--item,
#realizacja-kategorie-i-kontent .layout__region--first .field--items {
  padding-left: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--mw-gray-6);
  word-break: break-word;
}

@media screen and (max-width: 600px) {
  #realizacja-kategorie-i-kontent .layout__region--first {
    padding: 20px;
  }
}


/* ===================================================================
   AREA 2 — Body text under the webforms
   #realizacja-main-text
   =================================================================== */

/*
#realizacja-main-text .layout__region--content {
  display: flex;
  justify-content: center;
}
*/



#realizacja-main-text > .field--name-body,
#realizacja-main-text .layout__region--content {
  width: 100%;
  /*
  max-width: 860px;
  */
  background: var(--mw-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 8px 24px;
  margin-bottom: 24px;
}

@media (max-width: 600px){
    #realizacja-main-text > .field--name-body,
    #realizacja-main-text .layout__region--content{
    padding: 44px 0;
}
}

#realizacja-main-text .field--name-body h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--mw-orange-3);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#realizacja-main-text .field--name-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--mw-gray-6);
  margin: 32px 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--mw-orange-3);
}

/* subtitle right under the main h2 shouldn't get the full section gap */
#realizacja-main-text .field--name-body h2 + h3 {
  margin-top: 0;
}

#realizacja-main-text .field--name-body p {
  margin: 0 0 14px;
  line-height: 1.7;
  color: var(--mw-gray-6);
}

#realizacja-main-text .field--name-body p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 600px) {
  #realizacja-main-text .field--name-body {
    padding: 28px 22px;
  }
  #realizacja-main-text .field--name-body h2 {
    font-size: 24px;
  }
}













/* ============================================================
   Sprzedaż grid — modern ecommerce product tile
   Scoped to .view-id-sprzedaz so it never touches other
   twocol_section layouts elsewhere on the site.
   .views-field-field-price-m2 is intentionally NOT modified.
   ============================================================ */

/* 1. Breathing room between cards/rows (replaces the old 4px/16px rule) */
.view-id-sprzedaz .views-row .layout--twocol-section {
  gap: 28px;
}
.view-id-sprzedaz .views-row {
  margin-bottom: 28px;
}

/* 2. Card shell */
.view-id-sprzedaz .views-row .layout__region--first,
.view-id-sprzedaz .views-row .layout__region--second {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  margin-bottom: 0;
  background: var(--mw-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(20, 20, 20, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.view-id-sprzedaz .views-row .layout__region--first:hover,
.view-id-sprzedaz .views-row .layout__region--second:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(20, 20, 20, 0.14);
  border-color: rgba(235, 141, 52, 0.35);
}

/* 3. Image — uniform ratio so mismatched source images still line up.
      Scoped to the actual image field only (not the empty
      new-projects-image placeholder, which shares the same
      .reaization-grid-element class but has no content). */
.view-id-sprzedaz .views-row .views-field-field-realization- .reaization-grid-element {
  aspect-ratio: 16 / 9;
}
.view-id-sprzedaz .views-row .views-field-field-realization- .reaization-grid-element img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder field is unused across this whole view — remove it from flow */
.view-id-sprzedaz .views-row .views-field-field-new-projects-image {
  display: none;
}

/* 4. Title — fixes the h3/h2 selector mismatch, keeps it neutral so
      the orange price badge stays the one accent color on the tile */
.view-id-sprzedaz .views-row .views-field-field-secondary-title {
  padding: 18px 20px 0;
}
.view-id-sprzedaz .views-row .views-field-field-secondary-title h2 {
  margin: 0;
  padding: 0;
  font-family: Raleway, "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--mw-gray-6);
}

/* 5. Subtitle (funkcja) */
.view-id-sprzedaz .views-row .views-field-field-funkcja {
  padding: 4px 20px 0;
}
.view-id-sprzedaz .views-row .views-field-field-funkcja .field-content {
  font-size: 14px;
  color: var(--mw-gray-5);
}

/* 6. Meta row — small caps, separated with a hairline like a card footer */
.view-id-sprzedaz .views-row .views-field-field-number-of-realization {
  margin: 12px 20px 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--mw-gray-7);
}

/* 7. CTA — real pill button instead of a plain text link,
      pinned to the bottom so short/long titles still align across a row */
.view-id-sprzedaz .views-row .views-field-view-node {
  margin-top: auto;
  padding: 16px 20px 20px;
}
.view-id-sprzedaz .views-row .views-field-view-node a {
  display: block;
  text-align: center;
  background-color: var(--mw-orange-3);
  color: var(--mw-white);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.view-id-sprzedaz .views-row .views-field-view-node a:hover,
.view-id-sprzedaz .views-row .views-field-view-node a:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(235, 141, 52, 0.35);
  filter: brightness(1.05);
  text-decoration: none;
  color: var(--mw-white);
}

/* 8. Optional — makes the whole card clickable, not just the image/button.
      Remove this block if you'd rather keep click targets separate. */
.view-id-sprzedaz .views-row .views-field-view-node a {
  position: relative;
  z-index: 1;
}
.view-id-sprzedaz .views-row .views-field-view-node a::after {
  content: "";
  position: absolute;
  inset: 0;
}








/* ============================================================
   Realizacja / Nowe Projekty — title block
   h1 = specific project name (headline, now first in DOM)
   h2 = generic category (kicker, shown above the headline visually)
   Scoped to #realizacja-titles, shared by both content types.
   ============================================================ */

#realizacja-titles {
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#realizacja-titles .layout__region--content {
  display: flex;
  flex-direction: column;
}

/* Kicker (category) block — visually first via order, though it's the h2 */
#realizacja-titles .block-field-blocknoderealizationfield-secondary-title,
#realizacja-titles .block-field-blocknodenowe-projektyfield-secondary-title {
  order: 1;
}
#realizacja-titles h2 {
  margin: 0 0 8px;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mw-orange-3);
}

/* Headline block (specific project name) — dominant, now the true h1 */
#realizacja-titles .block-field-blocknoderealizationtitle,
#realizacja-titles .block-field-blocknodenowe-projektytitle {
  order: 2;
}
#realizacja-titles h1 {
  position: static;
  padding-bottom: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 1.4rem + 2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--mw-gray-6);
}
#realizacja-titles h1::after {
  content: "";
  position: static;
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--mw-orange-3);
}

@media (max-width: 600px) {
  #realizacja-titles h2 { font-size: 12px; }
  #realizacja-titles { padding-bottom: 18px; margin-bottom: 24px; }
}









/* ============================================================
   #typy-obiektow-modulowych-v5 — modular object type grid
   Final version: fixed-height caption panel (identical on every
   card), title always visible, description + CTA auto-fade-in
   on load, button always pinned in place regardless of text length.
   ============================================================ */

/* 1. Grid */
#typy-obiektow-modulowych-v5 .field--name-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1440px;
  margin: 2rem auto;
}
#typy-obiektow-modulowych-v5 .box-el {
  display: contents;
}
@media (max-width: 380px) {
  #typy-obiektow-modulowych-v5 .field--name-body {
    grid-template-columns: 1fr;
  }
}

/* 2. Card shell */
#typy-obiektow-modulowych-v5 .box-1,
#typy-obiektow-modulowych-v5 .box-3 {
  float: none;
  width: 100%;
}
#typy-obiektow-modulowych-v5 .box {
  height: 450px;
  margin: 0;
  background-size: 52%;
  background-position: center 18%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 10px rgba(20, 20, 20, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
#typy-obiektow-modulowych-v5 .box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(20, 20, 20, 0.14);
  border-color: rgba(235, 141, 52, 0.35);
}

/* 3. Caption panel — flex column so the button is pinned and never
      pushed out, regardless of how long the title or description are */
#typy-obiektow-modulowych-v5 .box-inner {
  position: static;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
#typy-obiektow-modulowych-v5 .the-content-box {
  position: static;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--mw-gray-4);
  color: var(--mw-white);
  padding: 18px 20px;
  transform: none;
}
#typy-obiektow-modulowych-v5 .content-box-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}
#typy-obiektow-modulowych-v5 .the-content-box h3 {
  flex: 0 0 auto;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--mw-white);
}

/* Description — flexible: fills whatever space is left between the
   title and the button, clipping its own overflow rather than the
   button's space. Line-clamp is a bonus for the common case. */
#typy-obiektow-modulowych-v5 .the-content-box p {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--mw-gray-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  animation: content-in 0.5s ease 0.4s both;
}

/* CTA — fixed size, always the last flex item, never shrinks */
#typy-obiektow-modulowych-v5 .the-content-box a.button {
  flex: 0 0 auto;
  align-self: flex-start;
  display: inline-block;
  padding: 8px 16px;
  transition: filter 0.2s ease;
  opacity: 0;
  transform: translateY(10px);
  animation: content-in 0.5s ease 0.55s both;
}
#typy-obiektow-modulowych-v5 .the-content-box a.button:hover {
  filter: brightness(1.08);
}

/* 4. Entrance animations */
@keyframes tile-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes content-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

#typy-obiektow-modulowych-v5 .box {
  animation: tile-in 0.6s ease both;
}
#typy-obiektow-modulowych-v5 .box:nth-child(1) { animation-delay: 0s; }
#typy-obiektow-modulowych-v5 .box:nth-child(2) { animation-delay: 0.12s; }
#typy-obiektow-modulowych-v5 .box:nth-child(3) { animation-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  #typy-obiektow-modulowych-v5 .box,
  #typy-obiektow-modulowych-v5 .the-content-box p,
  #typy-obiektow-modulowych-v5 .the-content-box a.button {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

#typy-obiektow-modulowych-v5 .box {
  background-repeat: no-repeat;
}











/* ============================================================
   #oferta-grid — modular building offer grid
   Reverted from a flattened single grid (unreliable due to
   nested display:contents) back to the site's native 3-row
   two-column flex layout, with consistent spacing added.
   ============================================================ */

/* 1. Spacing between and within the 3 rows — no flattening this time */
#oferta-grid .layout__region--content > section {
  margin-bottom: 28px;
}
#oferta-grid .layout__region--content > section:last-child {
  margin-bottom: 0;
}
#oferta-grid .layout--twocol-section {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
#oferta-grid .layout__region--first,
#oferta-grid .layout__region--second {
  flex: 1 1 calc(50% - 14px);
}
@media (max-width: 720px) {
  #oferta-grid .layout__region--first,
  #oferta-grid .layout__region--second {
    flex: 1 1 100%;
  }
}

/* 2. Card shell */
#oferta-grid .layout__region--first,
#oferta-grid .layout__region--second {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--mw-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(20, 20, 20, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
#oferta-grid .layout__region--first:hover,
#oferta-grid .layout__region--second:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(20, 20, 20, 0.14);
  border-color: rgba(235, 141, 52, 0.35);
}
#oferta-grid .layout__region--first > section,
#oferta-grid .layout__region--second > section {
  display: contents;
}
#oferta-grid .field--type-text-long {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 3. Icon zone */
#oferta-grid [class*="oferta-"] {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 28px 24px 12px;
}
#oferta-grid [class*="oferta-"] img {
  width: 58%;
  height: auto;
  display: block;
}

/* 4. Dark caption panel */
#oferta-grid .field--type-text-long > h2 {
  flex: 0 0 auto;
  margin: 0;
  padding: 22px 24px 8px;
  background: var(--mw-gray-4);
  color: var(--mw-white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
#oferta-grid .field--type-text-long > p:first-of-type {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 0 24px 14px;
  background: var(--mw-gray-4);
  color: var(--mw-gray-text);
  font-size: 14px;
  line-height: 1.5;
}
#oferta-grid .field--type-text-long > p:last-of-type {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 24px 24px;
  background: var(--mw-gray-4);
}

/* 5. CTA */
#oferta-grid .field--type-text-long > p:last-of-type a.btn-primary {
  display: inline-block;
  background-color: var(--mw-orange-3);
  border-color: var(--mw-orange-3);
  color: var(--mw-white);
  border-radius: var(--radius-pill);
  padding: 11px 22px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
#oferta-grid .field--type-text-long > p:last-of-type a.btn-primary:hover {
  background-color: var(--mw-orange-3);
  border-color: var(--mw-orange-3);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(235, 141, 52, 0.35);
  filter: brightness(1.05);
  text-decoration: none;
}

/* 6. Card entrance animation */
@keyframes tile-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
#oferta-grid .layout__region--first,
#oferta-grid .layout__region--second {
  animation: tile-in 0.6s ease both;
}
#oferta-grid .layout__region--first { animation-delay: 0s; }
#oferta-grid .layout__region--second { animation-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  #oferta-grid .layout__region--first,
  #oferta-grid .layout__region--second {
    animation: none;
  }
}

#oferta-grid {
    margin: 50px 0;
}










/* Disable the old underline so only one remains */
h1::after {
  content: none;
  display: none;
}

h1 .mwhi-text {
  position: relative;
  display: inline-block;
}

h1 .mwhi-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: #eb8d34; /* solid orange instead of gradient */
}

h1 .mwhi-icon {
    color: var(--heading-color);
    
}










/* ============================================================
   #plansze-isometric — process/features grid (6 cards)
   Base .box/.box-inner/.the-content-box styling was removed
   site-wide in an earlier cleanup round, so this rebuilds the
   whole section rather than layering on top of anything.
   Per-card background-color stays on the inline style — only
   layout/spacing is touched here.
   ============================================================ */

/* 1. Grid — deterministic column count, not auto-fit */
#plansze-isometric .field--name-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1440px;
  margin: 2rem auto;
}
@media (max-width: 980px) {
  #plansze-isometric .field--name-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  #plansze-isometric .field--name-body {
    grid-template-columns: 1fr;
  }
}

/* 2. Card shell — background-image lives on .box itself via inline
      style, so padding-top reserves the image area at the top */
#plansze-isometric .box {
  height: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center 24px;
  padding-top: 230px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 10px rgba(20, 20, 20, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
#plansze-isometric .box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(20, 20, 20, 0.14);
  border-color: rgba(235, 141, 52, 0.35);
}

/* 3. Panel — always visible, no hover-gated reveal */
#plansze-isometric .box-inner {
  position: static;
  height: auto;
  width: 100%;
  overflow: visible;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
#plansze-isometric .the-content-box {
  position: static;
  width: 100%;
  height: auto;
  transform: none;
  transition: none;
  flex: 1 1 auto;
}
#plansze-isometric .the-content-box:hover {
  opacity: 1;
}
#plansze-isometric .content-box-inner {
  padding: 20px 22px 24px;
}
#plansze-isometric .the-content-box h3 {
  margin: 0 0 8px;
  padding-top: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
#plansze-isometric .the-content-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: normal;
  opacity: 1;
  transform: none;
}

/* 4. Entrance animation, staggered by column position */
@keyframes tile-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
#plansze-isometric .box {
  animation: tile-in 0.6s ease both;
}
#plansze-isometric .box:nth-child(3n+1) { animation-delay: 0s; }
#plansze-isometric .box:nth-child(3n+2) { animation-delay: 0.1s; }
#plansze-isometric .box:nth-child(3n+3) { animation-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  #plansze-isometric .box {
    animation: none;
  }
}


#plansze-isometric h3 {font-size: 24px; color: var(--mw-white); padding-top: 1em;  font-weight: 900;}


#plansze-isometric .box-3.box[style*="Plansza-5_044.jpg"] .content-box-inner p,
#plansze-isometric .box-3.box[style*="Plansza-4_099.jpg"] .content-box-inner p{
  color: #ffffff;
}













/* ============================================================
   #konstrukcja-div / #sciany-div / #elewacje-div / #wykonczenie-div
   Photo-background hero bands → card grid.
   No shared wrapper ID exists, so :has() scopes the shared
   parent precisely (only matches the one region containing
   #konstrukcja-div as a direct child).
   ============================================================ */
   
/* Technologia images bckg */

#konstrukcja-div {background-image: url("../images/technologia-001.jpeg"); min-height: 400px; padding: 8%; margin-bottom: 40px;}
#sciany-div {background-image: url("../images/photo-sciany-dach-004.jpeg"); min-height: 400px; padding: 8%;  margin-bottom: 40px; background-size: cover;}
#elewacje-div {background-image: url("../images/wizka-elewacje-002.jpeg"); min-height: 400px; padding: 8%;  margin-bottom: 40px; background-size: cover; background-position: bottom;}
#wykonczenie-div {background-image: url("../images/photo-wykonczenie-wnetrz-004.jpeg"); min-height: 400px; padding: 8%;  margin-bottom: 40px; background-size: cover; background-position: bottom;}
#produkcja-div {background-image: url("../images/photo-wykonczenie-wnetrz-004.jpeg"); min-height: 400px; padding: 8%;  margin-bottom: 40px; background-size: cover; background-position: bottom;}



/* 1. Turn the shared parent into a grid; the intro block (no ID,
      first child) spans the full width instead of becoming a card */
.layout__region--content:has(> #konstrukcja-div) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1440px;
  margin: 2rem auto;
}
.layout__region--content:has(> #konstrukcja-div) > section:not(#konstrukcja-div):not(#sciany-div):not(#elewacje-div):not(#wykonczenie-div) {
  grid-column: 1 / -1;
}
@media (max-width: 640px) {
  .layout__region--content:has(> #konstrukcja-div) {
    grid-template-columns: 1fr;
  }
}

/* 2. Card shell — background photo already set via existing CSS
      (background-image/background-size:cover), just adding the
      card treatment on top */
#konstrukcja-div,
#sciany-div,
#elewacje-div,
#wykonczenie-div {
  min-height: 340px;
  margin-bottom: 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 10px rgba(20, 20, 20, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#konstrukcja-div:hover,
#sciany-div:hover,
#elewacje-div:hover,
#wykonczenie-div:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(20, 20, 20, 0.18);
}

/* 3. Text scrim — gradient instead of the old flat 40%-opacity
      overlay, so the photo stays visible rather than being
      uniformly darkened */
#konstrukcja-div .layout,
#sciany-div .layout,
#elewacje-div .layout,
#wykonczenie-div .layout {
  width: 100%;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, 0.55) 45%, rgba(20, 20, 20, 0.88) 100%);
  padding: 32px 26px 26px;
}
#konstrukcja-div h2,
#sciany-div h2,
#elewacje-div h2,
#wykonczenie-div h2 {
  color: var(--mw-white);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}
#konstrukcja-div p,
#sciany-div p,
#elewacje-div p,
#wykonczenie-div p {
  font-size: 15px;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  margin: 0 0 16px;
}

/* 4. CTA — pill button, replacing the default gray/square .btn-primary */
#konstrukcja-div a.btn-primary,
#sciany-div a.btn-primary,
#elewacje-div a.btn-primary,
#wykonczenie-div a.btn-primary {
  display: inline-block;
  background-color: var(--mw-orange-3);
  border-color: var(--mw-orange-3);
  color: var(--mw-white);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
#konstrukcja-div a.btn-primary:hover,
#sciany-div a.btn-primary:hover,
#elewacje-div a.btn-primary:hover,
#wykonczenie-div a.btn-primary:hover {
  background-color: var(--mw-orange-3);
  border-color: var(--mw-orange-3);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(235, 141, 52, 0.35);
  filter: brightness(1.05);
  text-decoration: none;
}










.catalog-download {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 20px;
}

/* Download card — always visible, mobile and desktop */
.catalog-download__hero {
  text-align: center;
  background: var(--mw-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(20, 20, 20, 0.06);
  padding: 40px 28px;
  margin-bottom: 28px;
}
.catalog-download__icon {
  width: 48px;
  height: 48px;
  color: var(--mw-orange-3);
}
.catalog-download__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--mw-gray-6);
  margin: 16px 0 8px;
}
.catalog-download__desc {
  font-size: 15px;
  color: var(--mw-gray-5);
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.5;
}
.catalog-download__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--mw-orange-3);
  color: var(--mw-white);
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.catalog-download__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(235, 141, 52, 0.35);
  filter: brightness(1.05);
  text-decoration: none;
  color: var(--mw-white);
}

/* Preview panel — responsive height via aspect-ratio instead of a
   fixed 1000px, capped so it never dominates a tall viewport */
.catalog-download__preview {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 10px rgba(20, 20, 20, 0.06);
  aspect-ratio: 3 / 4;
  max-height: 80vh;
}
.catalog-download__preview iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Mobile: skip the embedded viewer entirely, keep the download card */
@media (max-width: 720px) {
  .catalog-download__preview {
    display: none;
  }
}









/* ============================================================
   #contact-details-on-contact — dark premium contact cards
   Requires the small markup change above (icons wrapped inside
   each link). Bootstrap's .row/.col grid stays untouched.
   ============================================================ */

#contact-details-on-contact {
  display: flex;
  align-items: stretch;
  gap: 28px;
}

/* Card shell — dark panel, matching the modular-objects/isometric cards */
#contact-details-on-contact .field--name-body {
  height: 100%;
  background: var(--mw-gray-4);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(20, 20, 20, 0.1);
  padding: 36px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#contact-details-on-contact .field--name-body:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(20, 20, 20, 0.16);
}

/* Department name — orange pill label instead of a plain heading */
#contact-details-on-contact h3 {
  display: inline-block;
  background: var(--mw-orange-3);
  color: var(--mw-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin: 0 0 22px;
}

#contact-details-on-contact p {
  margin: 0;
}
#contact-details-on-contact p + p {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Phone / email links — icon + number as one inline unit, so the
   existing <br>-based line stacking between them still works untouched */
#contact-details-on-contact a[href^="tel:"],
#contact-details-on-contact a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 15px;
  color: var(--mw-white);
  transition: color 0.2s ease;
}
#contact-details-on-contact a[href^="mailto:"] {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
#contact-details-on-contact a[href^="tel:"]:hover,
#contact-details-on-contact a[href^="mailto:"]:hover {
  color: var(--mw-orange-3);
}
#contact-details-on-contact a[href^="tel:"] i,
#contact-details-on-contact a[href^="mailto:"] i {
  color: var(--mw-orange-3);
  font-size: 14px;
}

/* Address block — icon floats beside the wrapped lines */
#contact-details-on-contact p:not(:has(a)) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}
#contact-details-on-contact p:not(:has(a)) i {
  margin-top: 2px;
  color: var(--mw-orange-3);
  font-size: 15px;
}

#contact-details-on-contact i {
  display: inline-flex;
  justify-content: center;
  width: 18px;
  flex: 0 0 auto;
}

#contact-details-on-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 28px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Let the two Bootstrap columns share space flexibly instead of
   fighting the flex `gap` with a fixed 50% width */
#contact-details-on-contact > [class*="col-"] {
  flex: 1 1 0;
  max-width: none;
  width: auto;
}

/* Stack the two department cards on mobile instead of side-by-side */
@media (max-width: 767px) {
  #contact-details-on-contact {
    flex-direction: column;
    align-items: center;
  }

  #contact-details-on-contact > [class*="col-"] {
    flex: 1 1 auto;
    width: 100%;
    max-width: 480px;
  }
}

/* Center the address/location paragraph */
#contact-details-on-contact p:not(:has(a)) {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

#contact-details-on-contact a:hover,
#contact-details-on-contact a:focus {
    text-decoration: none !important
}





/* ============================================================
   #Klaro cookie banner
   ============================================================ */
.klaro_toggle_dialog {
    right:unset;
    left: 11px;
    bottom: 50px;
}

.klaro .cookie-modal .cm-list-input:checked + .cm-list-label .slider,
.klaro .context-notice .cm-list-input:checked + .cm-list-label .slider,
.klaro .cookie-notice .cm-list-input:checked + .cm-list-label .slider {
     background-color: #eb8d34 !important;
     opacity: 1 !important;
   }

.klaro .cookie-modal .cm-list-input.only-required+.cm-list-label .slider,
.klaro .context-notice .cm-list-input.only-required+.cm-list-label .slider,
.klaro .cookie-notice .cm-list-input.only-required+.cm-list-label .slider {
background-color: var(--klaro-slider-bg)
}

.klaro_toggle_dialog {
  background-image: none;
  background-color: #eb8d34;
  -webkit-mask-image: url(/modules/contrib/klaro/icons/privacy.svg);
  mask-image: url(/modules/contrib/klaro/icons/privacy.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.klaro .cookie-modal .cm-btn,
.klaro .cookie-modal .cm-btn.cm-btn-info,
.klaro .cookie-modal .cm-btn.cm-btn-success,
.klaro .cookie-modal .cm-btn.cm-btn-decline,
.klaro .cookie-modal .cm-btn.cm-btn-danger,
.klaro .context-notice .cm-btn,
.klaro .context-notice .cm-btn.cm-btn-info,
.klaro .context-notice .cm-btn.cm-btn-success,
.klaro .context-notice .cm-btn.cm-btn-decline,
.klaro .context-notice .cm-btn.cm-btn-danger,
.klaro .cookie-notice .cm-btn,
.klaro .cookie-notice .cm-btn.cm-btn-info,
.klaro .cookie-notice .cm-btn.cm-btn-success,
.klaro .cookie-notice .cm-btn.cm-btn-decline,
.klaro .cookie-notice .cm-btn.cm-btn-danger,
.klaro.learn-more-as-button .cookie-notice:not(.cookie-modal-notice) a.cm-link.cn-learn-more {
      background-color:  #eb8d34;  
      border-color: #eb8d34;
}

.klaro .cookie-modal .cm-btn:hover,
.klaro .cookie-modal .cm-btn.cm-btn-info:hover,
.klaro .cookie-modal .cm-btn.cm-btn-success:hover,
.klaro .cookie-modal .cm-btn.cm-btn-decline:hover,
.klaro .cookie-modal .cm-btn.cm-btn-danger:hover,
.klaro .context-notice .cm-btn:hover,
.klaro .context-notice .cm-btn.cm-btn-info:hover,
.klaro .context-notice .cm-btn.cm-btn-success:hover,
.klaro .context-notice .cm-btn.cm-btn-decline:hover,
.klaro .context-notice .cm-btn.cm-btn-danger:hover,
.klaro .cookie-notice .cm-btn:hover,
.klaro .cookie-notice .cm-btn.cm-btn-info:hover,
.klaro .cookie-notice .cm-btn.cm-btn-success:hover,
.klaro .cookie-notice .cm-btn.cm-btn-decline:hover,
.klaro .cookie-notice .cm-btn.cm-btn-danger:hover,
.klaro.learn-more-as-button .cookie-notice:not(.cookie-modal-notice) a.cm-link.cn-learn-more:hover {
    color:  #eb8d34 !important;  
    border-color: #eb8d34 !important;
}


.klaro .cookie-notice:not(.cookie-modal-notice) {
    bottom: 40px;
}

.klaro {
    outline: var(--klaro-dialog-focus-outline);
        box-shadow: var(--klaro-dialog-focus-box-shadow), 0 0 0 10px #fff;
}


#oferta-full-width {
    /*background-image: url("https://www.modernerverkaufspavillon.de/wp-content/uploads/2021/10/Modulhaeuser-mit-weisser-Fassade-2.jpg");*/
    background-color: var(--mw-gray-3);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 30px 30px;
    margin-bottom: 50px;
}

#oferta-full-width .layout1040-block {margin-top:0;}


