#box_8 td {
position:relative !important;
  top:0 !important;
  left:0 !important;
  min-height:auto !important;
  display:center !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0px 0 !important;
}
#box_8 #grid-base thead{
display:none !important;
}
#box_8 .cennik_box{
width:30%;
}
#box_8 .cennik_box span{
text-align:center;
}
#box_8 #grid-base{
margin-bottom:0px !important;
}
#box_8 li{
color:#fff;
text-align:left;
}
#box_8 div{
padding:0px !important;
}
#box_8::before{
background-color:rgba(0,0,0,0.6);
  
}
#box_8 tr{
   display:flex;
}
#box_8 ul{
width:33%;
}
#box_8 img{
padding:5px;
}

}
#box_8 td .row>div{
  flex-basis:calc(100% - 5px);
  flex-direction:column;
justify-content:center;  
}
#box_8 td .row>div:nth-child(2){
	padding:12px;
  display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

  z-index:2;
}

#box_8 h4{
    text-shadow: 2px 2px #000000;
  box-shadow: inset 0 0 0 2px #1DB9E4, inset 0 0 0 4px #1DB9E4;
	vertical-align: middle !important;
  line-height: 15px !important; 
  padding:20px !important;
  padding-top:15px !important;
  margin-top:0px !important;
  border-radius: 5px;
  z-index:2;
  background:#1DB9E4;
    position: absolute;
    top: 8%;
    right: 4%;
}

}
#box_8 td .row>td:nth-child(1){
  padding:12px;
  flex-basis:50%;
  max-width:50%;
}
#box_8 td::before{
content:"";
  display:block;
  width:100%;
  height:100%;
  position:absolute;
  top:0;
  left:0;
  
}

#box_8 td .container{
  display:flex;
  align-items:center;
  justify-content:center;
}
#box_8 td .post-boxes-container{
flex-basis:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
#box_8 .container, div.post-content{
position:relative;
  top:0;
  left:0;
  z-index:2;
padding:0px;  
}
#box_8 #box-2{
display:flex;
flex-direction:column;
justify-content:center;
flex-basis:45%;
max-width:45%;
}
#box_8 #box-2::after{
content: ;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 95%;
    height: 90%;
    background: rgba(0,0,0,.2);
    transform: translate(-50%,-50%);    
}
#box_8 #box-2::before{
content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.4);
    transform: translate(-50%,-50%);    
}
  #box_8 h3{
    font-family:"Cormorant Garamond" !important;
  }
#box_8 #box-1{
display:flex;  
flex-basis:55%;
max-width:55%;
flex-direction:column;
justify-content:center;
}
#box_8 hr.style-tl-icon1{
    padding: 0;
    border: none;
    border-top: 8px double #621bde;
    color:#621bde;
    text-align: center;
}
#box_8 hr.style-tl-icon1:after {
    content: "×";
    display: inline-block;
    position: relative;
    top: -0.8em;
    font-size: 1.75em;
    padding: 0 0.50em;
    background: white;
}

#box_8 div.green-white-border{
  padding:20px !important;
   margin: 30px;
  background:rgba(0,0,0,.2);
  border-radius:5px;
}

#box_8 td .gallery-effect-2-ul-photos img{
display:flex;
padding:0px !important;  
}

#box_8 td .gallery-effect-2-li-photo img{
	float:left !important;
    object-fit: contain;
    object-position: top;
  	border-radius:10px !important;
	flex:25% !important;
	padding:0px !important;
  	box-shadow: 3px 3px 0px 0px #caa373;
}

#box_8 td .gallery-effect-2-ul-photos{
flex-wrap:nowrap !important;
}
#box_8 td #box-2::before{
content:'';
position:absolute;
background:rgba(0,0,0,.4);
left:0;
top:0;
width:100%;
height:100%;
 z-index:1;
}

@media (min-width: 1201px){
#box_8 .container{
max-width:100% !important
}

}
@media(max-width:999px){
  #box_8{
  flex-wrap:wrap;
  display:flex;
  flex-direction: column-reverse !important;
      flex-basis:100%;
    max-width:100%;  
  }
  #box_8 > div.lead.post-content.post-box.post-box-1 > div > div:nth-child(3) > div{
  flex-direction:column;
  }
  #box_8 div.post-content{
  background:rgba(255,255,255,.8);
  flex-basis:100%;
  border-radius: 10px;
   margin-bottom:0px;
  }
  #box_8 h3{
  text-align:center;
  color:black !important;
    margin-top:120px;
    font-family:"Cormorant Garamond" !important;
  }
  #box_8 div.post-box-1{
    padding: 15px !important;
    background-image: url(https://domki-miedzybrodzie.istartnowy.iq.pl/rezerwacje/homepage_box_bg/8.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: center center;
	border-radius:0px;
    flex-direction:column-reverse !important;
  }  
  #box_8 div.post-box-2{
    padding: 0px 0px 0px 0px;
    background-image: url(http://metrak-apartamenty.itstart.eu/rezerwacje/homepage_box_bg/29.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: center center;
	border-radius:0px;
  }  
  #box_8 h4{
      line-height: 32px !important;
    padding: 25px !important;
    padding-top: 5px !important;
  right:0% !important;
  margin: 18px !important;  
    font-size:36px !important;
  }
#box_8 div.green-white-border {
margin:0px;
}
#box_8 div.post-box-2::after{
content: ;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 95%;
    height: 90%;
    background: rgba(0,0,0,.2);
    transform: translate(-50%,-50%);    
}
#box_8 div.post-box-2::before{
content: ;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.4);
    transform: translate(-50%,-50%);    
}
  #box_8 > div.lead.post-content.post-box.post-box-2 > h3 > p{
  color:black !important;
  }
  #box_8 > div.lead.post-content.post-box.post-box-1 > div > div:nth-child(3) > span > span:nth-child(1){
  color:black !important;
  }
  #box_8 > div.lead.post-content.post-box.post-box-1 > div > div:nth-child(1) > span > strong > span{

  }
  #box_8 ul{
width:100%;
}
  #box_8 span, #box_8 li, #box_8 p{
  /*color:#000 !important;*/
  }
}