/*
  Theme Name:   sedom
  Theme URI:    http://depcore.pl
  Description:
  Author: Depcore
  Author URI: http://depcore.pl
  Template:     wpindustry
  Version:      1.5
  License:      GNU/GPL Version 2 or later.
  License URI:  http://www.gnu.org/licenses/gpl.html
  Tags: dark, light, white, black, gray, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, full-width-template, microformats, post-formats, sticky-post, theme-options, translation-ready
  Text Domain:  wpindustry-child
  */


  #header h1 img {
     height: 3rem;
  }
  .flexinside-inn{
     float: left;
  }
  .widgetwrap.widgetwrap-alt.text-full{
     background-attachment: fixed;
     background-position: center;
     background-repeat: no-repeat;
     background-size: cover;
  }
  .flexcarousel.flexslider.folio{
  	margin-top: 30px;
  }
  .foocol{
     width: 22%;
  }
  #footer .foocol ul li{
     padding: 0;
     margin: 0 0 8px 0px;
  }
  #footer h2.widget, #footer .menu a, #footer address{
     color: white;
     position: relative;
  }
  #footer .menu a:before{
     content: '';
     background: red;
     height: 100%;
     width: 5px;
     vertical-align: middle;
     left: -1.5rem;
     top: 0;
     opacity: 0;
     position: absolute;
     display: inline-block;
     transition: all .5s ease-in;
  }
  #footer .menu a:hover:before{
     display: inline-block;
     left: -.7rem;
     opacity: 1;
  }
  #foliocontent{
    margin-bottom: 2rem;
 }
 /*Podstrona kategorii page-id-158 */
/*.page-id-93 .container{
   margin-top: 2rem;
   }*/
   .page-id-93 li.mp-services i.main{
    font-size: 4rem;
    width: 100%;
    background: none;
 }
 .page-id-93 .mp-wrap ul.mpbox>li:hover .mp-inner {
    background: red;
    cursor: pointer;
 }
 .page-id-93 .mp-wrap ul.mpbox>li:hover h3{
    color: white;
 }
 .page-id-93 .mp-wrap ul.mpbox>li:hover a.mp-more.tranz{
    display: none;
 }
/*.page-id-93 .page-header.p-border{
   display: none;
   }*/
   .fa-file-pdf-o:before{
      color: red;
   }
   a.down-pdf{
      padding: .5rem;
      display: inline-block;
      margin-bottom: .3rem;
   }
   div.imgwrap{
      background-color: #fff;
      /*height: 100%;*/
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
   }
   ul.mpbox{
     display:  flex;
     flex-wrap:  wrap;
  }
  .folio .item{
   display: flex;
   flex-direction: column;
   /*justify-content: flex-end;*/
   justify-content: space-between;
   height: 100%;
   background: #fff;
}
@media screen and (max-width: 1030px){
   li.mp-services i.main {
     height: auto;
  }
}


/* ===== Galeria z klasą .speciall-gallery – siatka 2 w rzędzie ===== */
.speciall-gallery {
	padding-top: 95px;
}
.speciall-gallery.gallery,
.speciall-gallery .gallery{
   display:grid !important;
   grid-template-columns:repeat(2,1fr) !important;
   gap:24px !important;
   width:100% !important;
   max-width:1000px !important;
   margin:0 auto 30px !important;
}
/* WP wstawia <br clear:both> między rzędami – w gridzie zbędne */
.speciall-gallery br{display:none !important;}

.speciall-gallery .gallery-item{
   float:none !important;
   width:auto !important;
   max-width:none !important;
   margin:0 !important;
   padding:0 !important;
   text-align:center !important;
}
.speciall-gallery .gallery-icon{margin:0 !important;padding:0 !important;}

.speciall-gallery .gallery-icon a{
   display:block !important;
   overflow:hidden !important;
   border-radius:10px !important;
   box-shadow:0 4px 14px rgba(0,0,0,.10) !important;
}
.speciall-gallery .gallery-icon img{
   width:100% !important;
   height:auto !important;
   aspect-ratio:3 / 2 !important;     /* równe kafelki */
   object-fit:cover !important;
   display:block !important;
   border:0 !important;               /* usuwa szarą ramkę 2px z WP */
   border-radius:10px !important;
   transition:transform .35s ease !important;
}
.speciall-gallery .gallery-item:hover .gallery-icon img{transform:scale(1.05) !important;}

.speciall-gallery .gallery-caption{
   margin:8px 0 0 !important;
   text-align:center !important;
   font-size:.95rem !important;
}

/* telefon: 1 w rzędzie */
@media (max-width:600px){
   .speciall-gallery.gallery,
   .speciall-gallery .gallery{grid-template-columns:1fr !important;gap:16px !important;}
}