/** ----------------------------------------------------------
 *
 * Contains the main layout of the page and the individual styles.
 * Acts as the main stylesheet for theme.
 *
 *		Include your notes or table of contents below....
 *		Include color hex's or values of your grid
 *
 *		1. OOCSS GRID
 *		2. MAIN LAYOUT
 *		3. HEADER
 *			- Brand
 *			- Search Form
 *		4. Navigation
 *			- Primary Navigation
 *			- tablet Navigation
 *			- Secondary Navigation
 *			- Secondary Nav 2-5 Levels deep
 *		5. Mixed
 *		6. Footer
 *		7. Page Specific Layout
 *			- Homepage
 *			- Search Results
 *		8. Device and Responsive Layout
 *			- Breakpoint 960px
 *			- Breakpoint 640px
 *				- Search Form
 *				- Main Content
 *		9. Print Styles
 *			- Simple Theme custom print styles
 *
 * @author Your Name <email@silverstripe.com>
 * ------------------------------------------------------- */

/* OOCSS Grid
* https://github.com/stubbornella/oocss/wiki/grids
*/
html  {
   
  
      
      -webkit-transform-origin : 50%  0%;
    -moz-transform-origin : 50%  0%;
    -o-transform-origin : 50%  0%;
    -ms-transform-origin : 50%  0%;
    transform-origin : 50%  0%;
     
   }
   html {background-color:#141414}
.line, /* line - Groups units on one horizontal line. Note: for mobile layout units may be stacked to avoid horizontal scrolling. */
.lastUnit {
	overflow:hidden;
	*overflow:visible;
	*zoom:1;
	padding:0 10px;
}
.unit { /* unit - Base class which divides a line into sections (columns). */
	float:left;
	padding:0 10px;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box; /* box-sizing:border-box; creates a box-model where 
	padding and border are NOT added onto the width - they are included in the width, 
	so a 200px wide element with 20px padding will be 200px, NOT 240px wide */
}
.unitRightv { /* Use this class if you want to offset a column eg: |--content(.unit)--|--content(.unit)--|--no-content--|--no-content--|--content(.unitRighttv)--| */
	float:right;
}

/* sizeXofY - Extends unit. Indicates the fractional width of the unit, for example size3of4 would take up three quarters, or 75%, of the horizontal space. 
The following fractions are supported: 1, 1/2, 1/3, 2/3, 1/4, 3/4, 1/5, 2/5, 3/5, 4/5 */
/* It is possible to add more columns if you wish you will just have to add the fractions that are missing eg: .size1of6 {width:16.66666%;} */

.size1of1 {
	float:none;
}
.size1of2 {
	width:50%;
}
.size1of3 {
	width:33.33333%;
}
.size2of3 {
	width:66.66666%;
}
.size1of4 {
	width:25%;
}
.size3of4 {
	width:75%;
}
.size1of5 {
	width:20%;
}
.size2of5 {
	width:40%;
}
.size3of5 {
	width:60%;
}
.size4of5 {
	width:80%;
}
.lastUnit { /* lastUnit - Extends unit. Applied to the last child of every line. */
	float:none;
	width:auto;
	_position:relative; /* Bug fix for IE6 - Internet Explorer 6 and below wouldn't fail on properties that were prefixed with non-alphanumeric characters. 
	meaning that anything prefixed with _ wouldn't be picked up by any other browsers */
	_left:-3px;
	_margin-right:-3px;
}

/* MAIN LAYOUT */
body {
    margin: 0;
    background: #1F1F1F url("../images/tomjohn_22.png") repeat    center top;
    min-width: 240px; 
    -webkit-text-size-adjust: none; /* The text size is not adjusted for Safari on iPhone */ 
}
	.ie7 body,
	.ie8 body {
	    min-width: 860px; /* media queries are not supported in ie7/8 without a polyfill */
	}
	.main {
	    max-width:1200px; 
      margin:0px auto;
	    padding: 40px 5px 60px 5px;
	    min-height: 300px;
	}
	.inner {
	    max-width: 1100px;
	    margin: 0 auto;
	    padding: 0 30px;
	}
	.ie6 .inner {
	    width: 960px;
	}
	.no-sidebar .content-container {
	    float: left;
	    width:100%; /* makes content container full width when there is no sidebar */
	}
	.sidebar { /* this is the sidebar element */
	    margin-top: 12px;
	}
	.no-sidebar .sidebar, .cell {
		display: none;
	}

canvas {opacity: 0.3; font-weight: bold;z-index:1;position:absolute}
/* HEADER */
.header {position:relative;  z-index:100 }
.header .head0 {  background:  url("../images/gbz.png")  repeat-y 50% 0px #002e58; position:relative; width:100%;overflow:hidden;}
.header .head3 { background:  url("../images/gbm.png")  no-repeat  50% 42px  ;position:relative; width:100%;overflow:hidden;z-index:3;}
.header .head2 { background:  url("../images/city.png")  no-repeat  50% 0px; position:relative; width:100%;overflow:hidden;}
/*.header .head3 {background:  url("../images/tomjohn_02.png")  no-repeat  50% 39px; position:relative; width:100%;overflow:hidden;min-height:500px;*/
  


    -moz-box-shadow:inset 0px -25px 29px #001526;
    -webkit-box-shadow:inset 0px -25px 29px #001526;
    box-shadow:inset 0px -25px 29px #001526;



}  
.HomePage .header .head3  {min-height:650px;}
.header .headwrap {max-height:100vh; position:relative; width:100%;overflow:hidden;}
 div.logo {position: absolute; z-index:900;left:50%;top: -40px;margin-left:-152px;width:305px;height: auto; padding-bottom:30px;background:  url("../images/logo-full-bg.png")  no-repeat  50% 100%;text-align:center; }
 
 div.logo span,  div.logo   a:link, div.logo   a:hover, div.logo   a:visited {display:block;color:#fff;font-size:14px;height:18px;line-height:18px;}
 div.logo  a.home-back {display:block;overflow:hidden; width:100%;text-align:center;height:auto;}
  div.logo  a.home-back img {display:block;margin:0px auto;margin-top:43px;  }
    div.logo:hover  a.home-back img {-webkit-filter:  brightness(150%)  ;}
 div.logo span {padding-top:1px;}
 

/* MENU */ 
nav.top {display:block;max-width:1200px;margin:0px auto;overflow:hidden;font-family:Cuprum;}
nav.top ul {margin:0px;padding:0px;border:0px;float:left;width:50%; padding:0 150px 0 0;-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;}
nav.top ul.right {float:right; padding:0 0 0 150px  ;}  
nav.top ul li {display: block;float:left;height:127px;width:25%; }
nav.top ul li a {display:block;padding:78px  0px 10px  0px;margin:0px auto;font-size:14px;text-transform:uppercase;text-align:center;line-height:16px;}
nav.top ul li a:link, nav.top ul li a:visited  {color:#fff;text-decoration:none;  }
 nav.top ul li a:hover {color:#000;text-decoration:none;  }
nav.top ul li a:link span, nav.top ul li a:visited span  {font-size:14px;color:#fff;display:block;  }
nav.top ul li a:hover span {font-size:14px;color:#000;display:block;  }
 
 

 

/* ROTATOR */
.rotto {width:100%;display:block;overflow:hidden;text-align:center;text-transform:uppercase;padding:170px 0 0 0; } 
.rotto span {font-weight:900;display:block;line-height:50px;margin:0;padding:0;}
.rotto span.rotto1 {font-size:26px;line-height:30px;text-shadow:-0.5px 0    0.5px #ccc,
               0    -0.5px 0.5px #ccc,
               0.5px  0    0.5px #ccc,
               0    0.5px  0.5px #ccc,0px  0px 5px #000000;letter-spacing:1px;}
.rotto span.rotto2, .rotto.pages h1.rotto2 {font-size:94px; line-height:94px;  text-shadow: -1px 0    1px #fff,
               0    -1px 1px #fff,
               1px  0    1px #fff,
               0    1px  1px #fff,0px  0px 15px #000;   }
.rotto span.rotto3, .rotto h2.rotto2 {font-size:38px;color:#000;line-height:60px;text-shadow: -0.5px 0    0.5px #000,
               0    -0.5px 0.5px #000,
               0.5px  0    0.5px #000,
               0    0.5px  0.5px #000,0px  0px 15px #fff;}
.rotto a:link, .rotto a:visited, .rotto a:hover {color:#fff;font-weight:900;font-size:18px;text-decoration:none; padding:15px  0px;max-width:220px;line-height:16px;margin:0px auto;margin-top:15px;margin-bottom:5px;display:block;background:#035e89; -moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;

    -moz-box-shadow: 0px 0px 5px #000000;
    -webkit-box-shadow: 0px 0px 5px #000000;
    box-shadow: 0px 0px 5px #000000;

}
.rotto a:hover {background:#013354;} 
/* HEADER PODSTRON */
.rotto.pages {width:100%;display:block;overflow:hidden;text-align:center;text-transform:uppercase;padding: 110px 0 0 0;  margin-bottom:50px;}
  .rotto.pages h1.rotto2 {font-size:94px; font-weight:900;line-height:94px;padding:0;  text-shadow: -1px 0    1px #fff,
               0    -1px 1px #fff,
               1px  0    1px #fff,
               0    1px  1px #fff,0px  0px 15px #000;   }
 
/* FORMULARZ - oprawa */
.biel {position:relative; width:100%;overflow:hidden; border-top: 1px solid #2E2E2E; }
.biel .biel0 { background:  url("../images/gbz.png")  repeat-y 50% 0px #002e58; position:relative; width:100%;overflow:hidden;}
.biel .biel8 { background:  url("../images/tlo_02.jpg")  repeat-x 50% 336px; position:relative; width:100%;overflow:hidden;}
.biel .biel2 { background: none; position:relative; width:100%;overflow:hidden;  z-index:3;

    -moz-box-shadow:inset 0px  25px 29px #001526;
    -webkit-box-shadow:inset 0px  25px 29px #001526;
    box-shadow:inset 0px  25px 29px #001526;

}
.biel .biel3 {  position:relative; width:100%;max-width:1200px;margin:0px auto;overflow:hidden;padding:50px 0 30px 0;}
.biel img {float:left;}
 
.biel h3 {font-size:40px;line-height:30px;text-shadow:-0.5px 0    0.5px #ccc,0    -0.5px 0.5px #ccc,0.5px  0    0.5px #ccc,0    0.5px  0.5px #ccc,0px  0px 5px #000000;letter-spacing:1px;text-transform:uppercase;font-weight:900;}
/* SCROLL DOLNY */               
.portcoscos  {padding:30px 0;max-width: 1000px;
margin: 0px auto;

overflow:hidden;display:block;}
.portcoscos1.owl-carousel, .portcoscos2.owl-carousel , .portcoscos3.owl-carousel , .portcoscos4.owl-carousel {width:25%;float:left;text-align:center;}
.portcoscos img {-moz-border-radius: 5px; display:block;margin:0 auto;
-webkit-border-radius: 5px;
border-radius: 5px;

    -moz-box-shadow: 0px 0px 5px #000000;
    -webkit-box-shadow: 0px 0px 5px #000000;
    box-shadow: 0px 0px 5px #000000;}
 /* STRONA OFERTA */ 
 .Oferta #maintext, .PortfolioPage #maintext {overflow:hidden;clear:both;font-family: 'Lato', Arial,Tahoma, Helvetica, sans-serif;}
 .Oferta #maintext .insze {display:block;background:#0a2a48!important;overflow:hidden;clear:both;padding:25px 0;margin:10px 0;-moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;}
  .Oferta #maintext .insze:hover {opacity:0.7}
 .insze a:link,.insze a:visited,  .insze a:hover, .insze a:focus      {display:block;text-align:center;font-size: 26px;overflow:hidden;clear:both;font-weight:900;
  line-height: 30px;
  text-shadow: -0.5px 0 0.5px #ccc, 0 -0.5px 0.5px #ccc, 0.5px 0 0.5px #ccc, 0 0.5px 0.5px #ccc,0px 0px 5px #000000;
  letter-spacing: 1px;
}

 .Oferta #maintext .insze h4      {display:block;text-align:center;font-size: 30px!important;overflow:hidden;clear:both;font-weight:900;
  line-height: 36px;
  text-shadow: -0.5px 0 0.5px #ccc, 0 -0.5px 0.5px #ccc, 0.5px 0 0.5px #ccc, 0 0.5px 0.5px #ccc,0px 0px 5px #000000;
  letter-spacing: 1px;
}
 .Oferta .content-page, .PortfolioPage .content-page {width:45%;float:right; min-height:180px; }
  .Oferta .content-page.ofe0, .PortfolioPage .content-page.ofe0 {text-align:right;}
   .PortfolioPage .content-page.ofe0 {background:#000;-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
-moz-box-shadow: 0px 0px 5px #000;
-webkit-box-shadow: 0px 0px 5px #000;
box-shadow: 0px 0px 5px #000;overflow:hidden;}
 .Oferta .content-page.ofe1, .PortfolioPage .content-page.ofe1 {float:left;margin:60px 0;}

 .Oferta .content-page.ofe2, .PortfolioPage .content-page.ofe2  {margin:60px 0;}
  .Oferta .content-page.ofe4,.Oferta .content-page.ofe6,.Oferta .content-page.ofe8 {margin:90px 0;}
 .Oferta .content-page.ofe3 , .PortfolioPage .content-page.ofe3 ,  .Oferta .content-page.ofe5,  .Oferta .content-page.ofe7 , .Oferta .content-page.ofe9 {float:left;margin:90px 0;}
 .Oferta .content-page h3,  .PortfolioPage .content-page h3  {
    display:  block;
    font-family: Cuprum;
    margin: 0px 0 20px 0;
    font-size: 24px;
    text-transform: uppercase;
    line-height: 24px;
}
 .Oferta .content-page img.ikonka,  .PortfolioPage  .content-page img.ikonka { display:block;float:left;margin-right:20px; }
  .Oferta .content-page div.text,  .PortfolioPage  .content-page div.text { overflow:hidden;}
  .Oferta   div.text.blue, .PortfolioPage div.text.blue {font-size:18px;text-align:center;}
   .Oferta   div.text.blue ul , .PortfolioPage div.text.blue ul{text-transform:uppercase;overflow:hidden;display:flex; flex-wrap: wrap;  justify-content: center;padding:40px 0 60px 0;
  }
   .Oferta   div.text.blue ul li,   .PortfolioPage div.text.blue ul li {font-size:16px;font-family: 'Lato', Arial,Tahoma, Helvetica, sans-serif; min-height:80px;list-style:none; width:27%;   display: flex; justify-content: center;
display: flex;
align-items: center;   -moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
               background: #1F1F1F url("../images/tomjohn_22.jpg") repeat scroll center top;    border: 1px solid #2E2E2E;

letter-spacing: 1px;font-weight: 900;color:#fff; margin:1%;padding:1% 2%;}
   .Oferta   div.text.blue ul li:hover,   .PortfolioPage div.text.blue ul li:hover {  background: #1F1F1F url("../images/tomjohn_22.jpg") repeat scroll left top;border: 1px solid #000; 
}
.PortfolioPage .content-page.ofe1 li , ul.marks li { list-style: none;margin-left:25px; }
.PortfolioPage .content-page.ofe1 li:before ,  ul.marks li:before{
  content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: #00629d; /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
}
.PortfolioPage .content-page.ofe1 h3.second {margin-top:120px;}
 .mmor {font-family: Cuprum;text-transform:uppercase;font-size: 13px; color: #32bafa!important;} 
 .fotonews.owl-lazy  {float:none;margin:0 auto;} 
 .foto-port-cont {
    
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 0 60px 0;
}
 .foto-port {position:relative; width:252px;   display: flex; justify-content: center;
display: flex;
align-items: center;  overflow:hidden;  
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;


    -moz-box-shadow: 0px 0px 5px #000;
    -webkit-box-shadow: 0px 0px 5px #000;
    box-shadow: 0px 0px 5px #000;margin:1% 2%;padding:0%;}
 
.typography  .foto-port img { max-width:100%;height:auto; padding:0;margin:0 auto;display:block;

}
.foto-port a {position:relative; display:block; overflow:hidden;}
.foto-port .foto-port-opis {position:absolute;left: 0px;right: 0px;bottom: 0px;top: 0px; padding:10px;text-align:center;background:#004569;display:none;font-family: 'Source Sans Pro', Arial, sans-serif;font-size:13px;line-height:18px;}
.foto-port:hover .foto-port-opis {display:block;}            


/* MIXED */
header:after,
.main:after,
#Root:after,
.search-bar:after,
header .inner:after,
footer:after { /* clearfix */
    height: 0;
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
}
.search-bar form input.action,
.header .primary li a,
.footer a { /* adds color transition when links/inputs on hover */
    -moz-transition: color 0.2s;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}
.footer a.brand { color: #333; margin-left: 0; }
.footer a.brand:hover { color: #B80000; }
 


/* FOOTER */
.footer {
    color: #fff;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 20px 0;
    font-size: 11px;
    line-height: 22px; 
  




}
	.footer a {
	    color: #999;
	}
	.footer a:hover {
	    color: #B90000;
	}
	.footer .left {
	    float: left;
	    color: #000;
	    display: block;
	    margin-bottom: 10px;
	}
	.footer .right {
	    float: right;
	    display: block;
	    margin-bottom: 10px;
	}
	.footer span {
	    padding: 0 3px;
	    color: #bbb;
	}
	.footer .primary,
	.footer .primary ul {
	    display: inline;
	    margin: 0;
	    padding: 0;
	}
		.footer .primary li {
		    display: inline;
		}
	.ie6 .footer .primary li,
	.ie7 .footer .primary li { /* this is a bugfix for ie6/7 */
	    display: inline;
	    zoom: 1;
	    margin-right: 10px;
	}
	.footer .primary li:after { /* adds '/' to separate the footer navigation items */
	    padding: 0 3px 0 5px;
	    content: '/';
	    color: #999;
	}
	.footer .primary li:last-child:after {
	    content: ''; /* makes sure last nav item doesn't have a '/' following it */
	}
	.footer .arrow {
	    padding: 0 8px 0 5px;
	    color: #b80000;
	    font-size: 13px;
	}
	.footer .primary .nav-open-button {
	    display: none; /* the footer includes the primary nav include - this makes sure the nav open close button doesn't show up */
	}

/* PAGE SPECIFIC LAYOUT */

	/* Homepage */
  .header   {
 

     
    border-bottom:1px solid #2E2E2E;


}
 .biel  {   border-bottom:1px solid #2E2E2E;}
.HomePage .main , .main.two {padding:0;position:relative;z-index:102; margin-top:-12px;min-height:280px;}  
.main .content-home { width:27%;margin:0 3%;float:left;text-align:center;  }
 
 .main .content-home.tab-3 {background:  url("../images/tomjohn_32.png")  no-repeat 50% 0%;}
.main .content-home.tab-16 {background:  url("../images/tom_john_icon_02.png")  no-repeat 50% 0%;}
 .main .content-home.tab-22 {background:  url("../images/tom_john_icon_01.png")  no-repeat 50% 0%;}
 .main .content-home.tab-2 {background:  url("../images/tomjohn_33.png")  no-repeat 50% 0% ;} 
 .main .content-home h3 {display:block;font-family:Cuprum;margin:85px 0 20px 0;font-size:16px; text-transform:uppercase;line-height:20px; }
 .main .content-home h3 span {display:block;font-size:16px;color: #32bafa;}


 /* ANIMACJE*/
 
 .header.animated {
    


  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s; 
  -ms-animation-duration: 2s;
  -o-animation-duration: 2s; 
   animation-duration: 2s;
 -webkit-animation-delay:0.4s ;
	-moz-animation-delay:0.4s ;
	-ms-animation-delay:0.4s ;
	-o-animation-delay:0.4s ;
	animation-delay:0.4s ;
 
}
nav.top ul li.animated   {
  
  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s; 
  -ms-animation-duration: 2s;
  -o-animation-duration: 2s; 
   animation-duration: 2s;
 -webkit-animation-delay:2.0s ;
	-moz-animation-delay:2.0s ;
	-ms-animation-delay:2.0s ;
	-o-animation-delay:2.0s ;
	animation-delay:2.0s ;
 
}
nav.top ul  li.animated:nth-child(4) , nav.top ul.right li.animated:nth-child(1)  {
-webkit-animation-delay:0.8s ;
	-moz-animation-delay:0.8s ;
	-ms-animation-delay:0.8s ;
	-o-animation-delay:0.8s ;
	animation-delay:0.8s ;
}

nav.top ul  li.animated:nth-child(3) , nav.top ul.right li.animated:nth-child(2)    {
-webkit-animation-delay:1.2s ;
	-moz-animation-delay:1.2s ;
	-ms-animation-delay:1.2s ;
	-o-animation-delay:1.2s ;
	animation-delay:1.2s ;
}
nav.top ul  li.animated:nth-child(2) , nav.top ul.right li.animated:nth-child(3)     {
-webkit-animation-delay:1.6s ;
	-moz-animation-delay:1.6s ;
	-ms-animation-delay:1.6s ;
	-o-animation-delay:1.6s ;
	animation-delay:1.6s ;
}
nav.top ul  li.animated:nth-child(1) , nav.top ul.right li.animated:nth-child(4)     {
-webkit-animation-delay:2.0s ;
	-moz-animation-delay:2.0s ;
	-ms-animation-delay:2.0s ;
	-o-animation-delay:2.0s ;
	animation-delay:2.0s ;
}
 
div.logo.animated, .content-home.animated, .rott.animated, .rotto.pages.animated   {
  
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s; 
  -ms-animation-duration: 1s;
  -o-animation-duration: 1s; 
   animation-duration: 1s;
 -webkit-animation-delay:0.8s ;
	-moz-animation-delay:0.8s ;
	-ms-animation-delay:0.8s ;
	-o-animation-delay:0.8s ;
	animation-delay:0.8s ;
 
}
.topbutton { /* styling and positioning of the nav toggle button */
		    z-index:  900;
		    width: 56px;
		    height: 56px;
		    position: fixed;
		    right: 5px;
		    bottom: 5px;
		    display: block;
		    cursor: pointer;
		    font-family: 'WebSymbolsRegular';
		    font-size: 20px;
		    color: #DD002E;
		}   
/* DEVICE & RESPONSIVE LAYOUT */
.header .nav-open-button {
    display: none; /* removes the nav toggle button for desktop site */
}
#media-query-trigger {
    /* instead of detecting the width of the window in simple/javascript/script.js it detects the visibility of this element (which is set using media queries) 
    instead to trigger the hiding/showing of nav and search in mobile mode */
    display: none;
    visibility: hidden;
}
 
/* BREAKPOINT 960px */

@media only screen and (max-width: 960px) {
	.content img {
	    max-width: 97%;
	    height: auto;
	}
	.header .primary ul {
	    margin-left: -12px;
	    -webkit-padding-start: 0px; /* removes default webkit padding on ul items */
	}
}

/* BREAKPOINT 640px */

/* when changing the breakpoint below, change it ito the same value in the script.js file as well */
@media only screen and (max-width: 960px) { 
.Oferta div.text.blue ul li {width:43%}
	body {
	    max-width: 960px;
	}
	#media-query-trigger {
	    visibility: visible;
	}
  .cell {display:block;}
	/* Navigation*/

	.tablet-nav .header .brand {
	    float: none;
	    display: inline-block;
	    margin-left: 22px;
	    margin-bottom: 22px;
	}
		.brand h1 {
		    font-size: 40px;
		}
		.brand h1 {
		    padding-right: 100px; /* padding stops .brand text from overlapping the search and nav buttons */
		}
	.tablet-nav .header {
	    padding: 0px;
	}
		.tablet-nav .header .inner {
		    padding: 20px 0 0 0;
		    min-height: 0;
		}
       .nav-open-button { /* styling and positioning of the nav toggle button */
		    z-index: 1000;
		    width: 56px;
		    height: 56px;
		    position: fixed;
		    right: 5px;
		    top: 5px;
		    display: block;
		    cursor: pointer;
		    font-family: 'WebSymbolsRegular';
		    font-size: 20px;
		    color: #DD002E;
		}  
      
		.tablet-nav .header   ul {
		    
		    position: relative; 
		    display: none; 
		    width: 240px;
        margin:0 auto;
        margin-top:-10px;margin-bottom:5px;
		}
			.tablet-nav .header   ul li {
			    width: 100%;
			    margin: 0;
			    padding: 0;
			    float: none; /* displays list items vertically */
			    background: none;
			    position: relative;
          list-style:none;
         background:  url("../images/menu-bar.png")  no-repeat 50% 100%;
			    
			}
		 
       	.tablet-nav .header  div.logo  ul li a span   {display:inline;}
			.tablet-nav .header   ul li a,
			.tablet-nav .header   ul li.current a,
			.tablet-nav .header   ul li.section a { /* styling the  top level nav links */
			    padding: 10px 0 10px 0;
			    font-weight: normal;  font-family: Cuprum;

font-size: 14px;
			    width:100%;display:block; 
			    color: #fff;
			    text-transform:uppercase;text-decoration:none;
			}
			.tablet-nav .header   ul li.current a,
			.tablet-nav .header   ul li.section a {
	 color: #000; background:  url("../images/menu-bar2.png")   repeat-y 50% 100%;
			}
			.tablet-nav .header   ul li a:hover {
			   color: #000; background:  url("../images/menu-bar2.png")   repeat-y 50% 100%;
			}
			.tablet-nav .header  li.section:after,
			.tablet-nav .header   li.current:after {
			    display: none; /* hides the link arrow on current top level page */
			}
			.tablet-nav .tablet-nav .header nav  ul li {
				padding: 0;
			}
      	.tablet-nav .header   ul li a:hover span, 	.tablet-nav .header   ul li.current a span {color:#000}

	/* Search Form */
	.search-bar { /* adds new styling to mobile search bar */
	    width: 100%;
	    position: relative;
	    top: 0;
	    right: 0;
	    display: none; /* hides searchbar initially */
	    padding: 20px 0;
	    margin: 0;
	    background-color: #E7E7E7;
	}
	.search-dropdown-icon { /* styling for search toggle button */
	    display: block;
	    cursor: pointer;
	    width: 20px;
	    height: 20px;
	    position: absolute;
	    right: 60px;
	    top: 34px;
	    font-family: 'WebSymbolsRegular';
	    font-size: 20px;
	    color: #ededed;
	    text-align: center;
	    line-height: 20px;
	}
	.search-bar form {
	    margin: 0;
	    width: 100%;
	}
		.search-bar form fieldset {
		    padding: 0 18px;
		    left: 0;
		    right: 0;
		    position: relative;
		}
	.search-bar div.field {
	    margin-bottom: 0;
	}
	.search-bar form input.text {
	    width: 89%; /* makes search input full width - allowing for space either side */
	    max-width: 89%;
	    padding: 8px 10% 8px 1%;
	    text-indent: 15px;
	    position: relative;
	    display: block;
	    right: 0;
	    left: 0;
	    border: 1px solid #e5e5e5;
	    background: #fff;
	    font-size: 17px;
	    -moz-border-radius: 20px; /* increase border radius due to increased padding */
		border-radius: 20px;
	}
	.search-bar form input.action {
	    right: 5%;
	    top: 2px;
	    font-size: 18px;
	}

	/* Main Content */
	.main {
	    padding: 20px 5px 45px 5px; /* decrease padding so that more content can fit on screen */
	}
	.content-container,
	.sidebar {
	    width: 100%; /* sidenav is now shown above the page content */
	    margin-bottom: 30px;
	}
		.typography h1 { /* decrease size of page heading due to smaller screen */
		    font-size: 30px;
			line-height:35px;
		    margin-bottom: 15px;
		    padding-bottom: 10px;
		}
		.typography p {
		    font-size: 14px;
		    line-height: 23px;
		}
	p.intro {
	    font-size: 19px;
	    line-height: 27px;
	}
	.main .inner {
	    padding: 0 22px;
	}
	/* Secondry Nav */
	.secondary li a {
	    line-height: 24px;
	}
	.secondary li .arrow {
	    line-height: 26px;
	}
	/* Footer */
	.footer .right {
	    float: left;
	    width: 100%;
	}
}

/* Print Styles */

/* Based on HTML5 boilerplate print styles */
@media print {
	* {
	    background: transparent !important;
	    color: black !important;
	    box-shadow: none !important;
	    text-shadow: none !important;
	    filter: none !important;
	    -ms-filter: none !important;
	}
	a,
	a:visited {
	    text-decoration: underline
	}
	a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

	thead {
	    display: table-header-group
	}
	tr,
	img {
	    page-break-inside: avoid
	}
	img {
	    max-width: 100% !important
	}
	pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    /* Simple theme custom print styles */
	.header,
	.footer,
    .nav-open-button,
    .search-bar,
    .search-dropdown-icon,
    nav.primary {
	    display: none;
	}
}
 @media only screen   and (min-width: 961px) {
.header .head1 {
    height:500px;
}
.HomePage .header .head1 {
    height:650px;
}
nav.top ul li {
    
    background: url("../images/menu-barh.png") no-repeat 100% 60px ;
}
nav.top ul li a:hover {
    color: #000;
    background: url("../images/menu-bar2h.png") repeat-x 50% 60px;
}
nav.top ul li.animated:nth-child(4),nav.top ul li.animated:nth-child(8)  {background:none;}
 }
@media only screen and (max-width: 1024px) and (min-width: 961px) { 
nav.top ul li a {display:block;padding:82px  0px 4px  0px;margin:0px auto;font-size:13px;text-transform:uppercase;text-align:center;}
nav.top ul li a:link span, nav.top ul li a:visited span, nav.top ul li a:hover span {font-size:12px;line-height:16px;}
.rotto {width:100%;display:block;overflow:hidden;text-align:center;text-transform:uppercase;padding:170px 0 0 0; }
.rotto span.rotto1 {font-size:23px;line-height:27px;}
.rotto span.rotto2 , .rotto.pages h1.rotto2{font-size:80px; line-height:80px;    }
.rotto span.rotto3 {font-size:30px;line-height:48px;}
.header .head1 {
    height:460px;
}
.HomePage .header .head1 {
    height:650px;
}
} 

@media only screen and (max-width: 960px) and (min-width: 761px) { 
.header .head3 {
    background: none; 
}
.laska   {display:none;}
 .portcoscos4.owl-carousel  {display:none!important;}
body form {float:none;margin:0 auto;}
.rotto {width:100%;display:block;overflow:hidden;text-align:center;text-transform:uppercase;padding:170px 0 0 0; }
nav.top  {height:132px;}
.rotto span.rotto1 {font-size:20px;line-height:24px;text-shadow: -0.4px 0 0.4px #ccc, 0 -0.4px 0.4px #ccc, 0.4px 0 0.4px #ccc, 0 0.4px 0.4px #ccc,0px 0px 5px #000000;}
.rotto span.rotto2,    .rotto.pages h1.rotto2 {font-size:62px; line-height:62px; text-shadow: -0.5px 0 0.5px #fff, 0 -0.5px 0.5px #fff, 0.5px 0 0.5px #fff, 0 0.5px 0.5px #fff,0px 0px 15px #000;   }
.rotto span.rotto3 {font-size:26px;line-height:40px;text-shadow: -0.4px 0 0.4px #000, 0 -0.4px 0.4px #000, 0.4px 0 0.4px #000, 0 0.4px 0.4px #000,0px 0px 15px #fff;}
.rotto a:link, .rotto a:visited, .rotto a:hover {font-size: 16px; padding: 13px 0px; max-width: 200px; line-height: 16px; }
.portcoscos1.owl-carousel, .portcoscos2.owl-carousel, .portcoscos3.owl-carousel, .portcoscos4.owl-carousel { width: 33%;  float: left;  text-align: center; }
.header .head1 {
    height:450px;
}
.HomePage .header .head1 {
    height:650px;
}
}
@media only screen and (max-width: 760px) and (min-width: 561px) {
	.header .head1 {
    height:390px;
}
.HomePage .header .head1 {
    height:540px;
}
.header .head3 {
    background: none; 
}	
.HomePage .main, .main.two {    margin-top: 20px; }
.laska {display:none;}
 .portcoscos4.owl-carousel , .portcoscos3.owl-carousel {display:none!important;}
body form {float:none;margin:0 auto;}
body .outform {float:none;width:98%;margin:1%;}
body form h3 {padding-bottom:20px;}
.rotto {width:100%;display:block;overflow:hidden;text-align:center;text-transform:uppercase;padding:120px 0 0 0; }
nav.top  {height:132px;}
.rotto span.rotto1 {font-size:16px;line-height:20px;text-shadow: -0.4px 0 0.4px #ccc, 0 -0.4px 0.4px #ccc, 0.4px 0 0.4px #ccc, 0 0.4px 0.4px #ccc,0px 0px 5px #000000;}
.rotto span.rotto2 , .rotto.pages h1.rotto2 {font-size:42px; line-height:42px; text-shadow: -0.5px 0 0.5px #fff, 0 -0.5px 0.5px #fff, 0.5px 0 0.5px #fff, 0 0.5px 0.5px #fff,0px 0px 15px #000;   }
.rotto span.rotto3 {font-size:22px;line-height:34px;font-weight:normal;text-shadow: -0.4px 0 0.4px #000, 0 -0.4px 0.4px #000, 0.4px 0 0.4px #000, 0 0.4px 0.4px #000,0px 0px 15px #fff;}
.rotto a:link, .rotto a:visited, .rotto a:hover {font-size: 15px; padding: 12px 0px; max-width: 200px; line-height: 16px; }
 .header .head3  {min-height:340px;}

 
.owl-theme .owl-controls .owl-nav [class*="owl-"] img { height: 51px; width: 26px;}
.main .content-home {      width: 44%;             margin: 3%;      float: left;      text-align: left; }
.HomePage .main {     padding: 0;    position: relative;     z-index: 102;     margin-top: 10px;      min-height: 280px; }
 .main .content-home.tab-3 {background:  url("../images/tomjohn_32.png")  no-repeat  100% 0%;}
.main .content-home.tab-16 {background:  url("../images/tom_john_icon_02.png")  no-repeat  100% 0%;}
 .main .content-home.tab-22 {background:  url("../images/tom_john_icon_01.png")  no-repeat  100% 0%;}
 .main .content-home.tab-2 {background:  url("../images/tomjohn_33.png")  no-repeat  100% 0% ;} 
 .main .content-home h3 {display:block;font-family:Cuprum;margin:15px 0 20px 0px;font-size:16px; text-transform:uppercase;line-height:20px; }
 .portcoscos1.owl-carousel, .portcoscos2.owl-carousel, .portcoscos3.owl-carousel, .portcoscos4.owl-carousel { width: 50%;  float: left;  text-align: center; }

}
@media only screen and (max-width: 560px)   {
	.header .head1 {
    height:380px;
}
.HomePage .header .head1 {
    height:480px;
}
.header .head3 {
    background: none; 
}	
.Oferta div.text.blue ul, .PortfolioPage div.text.blue ul {

   
    padding: 20px 0 30px 0;

}
.Oferta div.text.blue ul li , .PortfolioPage  div.text.blue ul li{width:93%;font-size: 14px;min-height:30px;}
body.typography .biel h3 {

    font-size: 24px;
    line-height: 30px; 

}
.Oferta .content-page, .PortfolioPage .content-page {

    width: 96%; margin:30px 2%!important;
    float: right;

}
.HomePage .main, .main.two {    margin-top: 20px; }
.laska {display:none;}
 .portcoscos4.owl-carousel , .portcoscos3.owl-carousel, .portcoscos2.owl-carousel {display:none!important;}
body form {float:none;margin:0 auto;}
body form h3 {padding-bottom:20px;}
body .outform {float:none;width:98%;margin:1%;}
.rotto {width:100%;display:block;overflow:hidden;text-align:center;text-transform:uppercase;padding:120px 0 0 0; }
nav.top  {height:132px;}
.rotto span.rotto1 {font-size:15px;font-weight:normal;line-height:20px;text-shadow: -0.4px 0 0.4px #ccc, 0 -0.4px 0.4px #ccc, 0.4px 0 0.4px #ccc, 0 0.4px 0.4px #ccc,0px 0px 5px #000000;}
.rotto span.rotto2 , .rotto.pages h1.rotto2 {font-size:30px; line-height:30px; text-shadow: -0.5px 0 0.5px #fff, 0 -0.5px 0.5px #fff, 0.5px 0 0.5px #fff, 0 0.5px 0.5px #fff,0px 0px 15px #000;   }
.rotto span.rotto3 {font-size:19px;line-height:30px;font-weight:normal;text-shadow: -0.4px 0 0.4px #000, 0 -0.4px 0.4px #000, 0.4px 0 0.4px #000, 0 0.4px 0.4px #000,0px 0px 15px #fff;}
.rotto a:link, .rotto a:visited, .rotto a:hover {font-size: 15px; padding: 12px 0px; max-width: 200px; line-height: 16px; }
 .header .head3  {min-height:300px;}
.HomePage .header .head3  {min-height:480px;}
.owl-theme .owl-controls .owl-nav {display:none}
.main .content-home {  width: 94%;       margin: 3%;      float: left;       text-align: left; border-bottom:1px solid #333;  }
.main .content-home:last-child {border:0;}
.HomePage .main {      padding: 0;       position: relative;     z-index: 102;       margin-top: 10px;        min-height: 280px;   } 
 .main .content-home.tab-3 {background:  url("../images/tomjohn_32.png")  no-repeat  100% 0%;padding-bottom:3px;}
.main .content-home.tab-16 {background:  url("../images/tom_john_icon_02.png")  no-repeat  100% 0%;padding-bottom:30px;}
 .main .content-home.tab-22 {background:  url("../images/tom_john_icon_01.png")  no-repeat  100% 0%;padding-bottom:30px;}
 .main .content-home.tab-2 {background:  url("../images/tomjohn_33.png")  no-repeat  100% 0% ;padding-bottom:30px;} 
 .main .content-home h3 {display:block;font-family:Cuprum;margin:10px 0 30px 0px;font-size:16px; text-transform:uppercase;line-height:20px; }
  .portcoscos1.owl-carousel, .portcoscos2.owl-carousel, .portcoscos3.owl-carousel, .portcoscos4.owl-carousel { width: 100%;  float: left;  text-align: center; }
}
.ggu-bot-snapped-launcher .ggu-widget-launcher {float:left!important}
.ggu-bot-snapped-launcher {left:15px!important;right:0px!important}
.CategoryMainPage .text-1 img , .CategoryMainPage .text-0 img,   .CategoryMainPage .text  img,   .biel .text  img {
  display: block;
  float: left;
  margin-right: 20px;
  max-width:100%;
  height:auto;
}
.CategoryMainPage .text-1 .textartin1 , .CategoryMainPage .text-0 .textartin1 , .CategoryMainPage .text  .textartin1, .biel .text  .textartin1{overflow:hidden;}
.cat-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* odstępy między elementami, opcjonalnie */
}

.cat-content article {
  box-sizing: border-box;
}

.cat-content article.text-1,
.cat-content article.text-0 {
  flex: 0 0 100%;margin: 45px 0;
}

.cat-content article.text, .biel  .cat-content  article.text {
  flex: 0 0 calc(50% - 20px); /* dwie kolumny */
  margin: 45px 0;
}
.CategoryMainPage .cat-content h3 , .biel  .cat-content h4{
  display: block;
  font-family: Cuprum;
  margin: 0px 0 20px 0;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 24px;
}
.pagination a {
  display: block;
  float: left;
  text-align:center;
  height: 26px;
  width: 26px;
  margin-left: 3px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-color: #00629d;
  background-position: 50% 50%;
  border: 1px solid #2a5992;
  opacity: 0.8;
}
.pagination a.current {background:#1a1a1a;border: 1px solid #333}
span.category-news {display:block;width:100%;font-size:11px;margin:10px 0;}  
.fotonews {float:left;margin:10px 30px 30px 0}
.CategoryPage .contentin h2  {
  display: block;
  font-family: Cuprum;
  margin: 0px 0 20px 0;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 24px;
}
.CategoryPage .contentin h4  {
  display: block;
  font-family: Cuprum;
  margin: 20px 0 20px 0;
  font-size: 16px;
  text-transform: uppercase;
  line-height: 16px;
}
@media (max-width: 768px) {
  .cat-content article.text {
    flex: 0 0 100%; /* jedna kolumna na mniejszych ekranach */
  }
  

.fotonews {
  display: block; 
  float: none;
  margin:  0px auto;
  max-width:100%;
  height:auto;
  clear:both;
}
}