html,
body,
#page  {
  height: 100%;
}
#page-wrapper {
  min-height: 100%;
}
#header div.section,
#featured div.section,
#messages div.section,
#main,
#triptych,
#footer-columns,
#footer {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
#header div.section {
  position: relative;
}
.region-header {
  float: right; /* LTR */
  margin: 1em 5px 1.5em;
}
#secondary-menu {
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
}
#main-wrapper {
  min-height: 300px;
}
.sidebar .section {
  padding: 0 15px 0px 0px;
}
#content .section{
  padding: 0px 5px 0px 5px;
}

#breadcrumb {
  margin: 0 0px 0px 5px;
}
#footer-wrapper {
  padding: 35px 0 30px;
}
#footer-wrapper .section {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 15px;
}
.region-triptych-first,
.region-triptych-middle,
.region-triptych-last {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 5px 0;
}
.region-footer-firstcolumn,
.region-footer-secondcolumn,
.region-footer-thirdcolumn,
.region-footer-fourthcolumn {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 10px;
}

@media all and (min-width: 560px) and (max-width: 850px) {

  #sidebar-first,
  .region-triptych-first,
  .region-triptych-middle,
  .region-triptych-last,
  .region-footer-firstcolumn,
  .region-footer-secondcolumn,
  .region-footer-thirdcolumn,
  .region-footer-fourthcolumn {
    display: inline;
    float: left; /* LTR */
    position: relative;
  }
#block-menu-block-1, #block-menu-block-2, #block-views-menu-tax-block-1{
   display: none;
}
  #sidebar-first,
  #sidebar-second {
    width: 50%;
  }
  #sidebar-second {
    margin-left: 50%; /* LTR */
  }
  .one-sidebar #sidebar-first,
  .one-sidebar #sidebar-second {
    width: 100%;
  }
  .one-sidebar #sidebar-second {
    margin-left: 0; /* LTR */
  }
  .region-triptych-first,
  .region-triptych-middle,
  .region-triptych-last {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px 0;
    width: 50%;
  }
  .region-footer-firstcolumn,
  .region-footer-secondcolumn {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px;
    width: 50%;
  }
  .region-footer-thirdcolumn,
  .region-footer-fourthcolumn {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px;
    width: 50%;
  }
  .region-footer-thirdcolumn {
    clear: both;
  }
}
@media (max-width: 555px) {
   #main-menu{
   clear: both!important;
}
.view-aktualnosci .doleweja{
  clear: both!important;
  float: none!important;
  text-align: center;
}
#block-views-animacja-block .views-field views-field-body{
   font-size: 100%;
}

.leaf {
  border-bottom: 1px solid #979797;
}
.podtopl{
 display: none;
}
.region-footer-thirdcolumn{
  margin: 10px 0px 5px 0px;
  padding: 10px 0px 5px 0px;
}
#block-block-7, #block-block-2, #block-block-17 p{
 text-align: center;
}
.podtopp, .field-name-body{
 clear: both;
}
#pagetitlewrap h1{
 padding: 0px 5px 0px 5px;
 font-size: 1.3em;
}
#block-block-28,
#block-views-aktualnosci-block-1,
#block-block-17 p{
  text-align: center!important;
}

.ofertapelna{
  clear: both;
  overflow: hidden;
  margin-bottom: 20px!important;
  padding-bottom: 20px!important;
  border-bottom: 5px solid #e7e7e7!important;
  text-align: center!important;
}
#block-views-pelna-oferta-block-2 .views-row-even,
#block-views-pelna-oferta-block-1 .views-row-even,
#block-views-pelna-oferta-block-3 .views-row-even
{
  background: #E6E6E6!important;
}

.dolewej{
  text-align: center!important;
  float: none!important;
}


#block-menu-block-1,
#block-menu-block-2,
#block-views-menu-tax-block-1,
#block-block-38,
.view-id-animacja p


{
   display: none;
}
  }

@media all and (min-width: 851px) {

  #header div.section,
  #featured div.section,
  #messages div.section,
  #main,
  #triptych,
  #footer-columns,
  #footer {
    max-width: 1200px;
  }
  #content,
  #sidebar-first,
  #sidebar-second,
  .region-triptych-first,
  .region-triptych-middle,
  .region-triptych-last,
  .region-footer-firstcolumn,
  .region-footer-secondcolumn,
  .region-footer-thirdcolumn,
  .region-footer-fourthcolumn {
    display: inline;
    float: left; /* LTR */
    position: relative;
  }

  .two-sidebars #content {
    margin-left: 25%;
    margin-right: 25%;
    width: 50%;
  }
  .one-sidebar #content {
    width: 75%;
  }
  .no-sidebars #content {
    width: 100%;
  }
  .sidebar-first #content {
    margin-left: 25%; /* LTR */
    margin-right: 0; /* LTR */
  }
  .sidebar-second #content {
    margin-right: 25%; /* LTR */
    margin-left: 0; /* LTR */
  }
  #sidebar-first {
    width: 25%;
    margin-left: -100%; /* LTR */
  }
  #sidebar-second {
    width: 25%;
    margin-left: -25%; /* LTR */
	padding-top: 10px;
    clear: none;
  }
  #main-menu {
    float: right;
}
  .region-triptych-first,
  .region-triptych-middle{
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 50%;
  }
  .region-footer-firstcolumn,
  .region-footer-secondcolumn,
  .region-footer-thirdcolumn,
  .region-footer-fourthcolumn {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px;
    width: 25%;
  }
}