/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
  }
  
  /*
   * Remove text-shadow in selection highlight:
   * https://twitter.com/miketaylr/status/12228805301
   *
   * Vendor-prefixed and regular ::selection selectors cannot be combined:
   * https://stackoverflow.com/a/16982510/7133471
   *
   * Customize the background color to match your design.
   */
  
  ::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
  }
  
  ::selection {
    background: #b3d4fc;
    text-shadow: none;
  }
  
  /*
   * A better looking default horizontal rule
   */
  
  hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
  }
  
  /*
   * Remove the gap between audio, canvas, iframes,
   * images, videos and the bottom of their containers:
   * https://github.com/h5bp/html5-boilerplate/issues/440
   */
  
  audio,
  canvas,
  iframe,
  img,
  svg,
  video {
    vertical-align: middle;
  }
  
  /*
   * Remove default fieldset styles.
   */
  
  fieldset {
    border: 0;
    margin: 0;
    padding: 0;
  }
  
  /*
   * Allow only vertical resizing of textareas.
   */
  
  textarea {
    resize: vertical;
  }
  
  /* ==========================================================================
     Author's custom styles
     ========================================================================== */
  
  /* ==========================================================================
     Helper classes
     ========================================================================== */
  
  /*
   * Hide visually and from screen readers
   */
  
  .hidden,
  [hidden] {
    display: none !important;
  }
  
  /*
   * Hide only visually, but have it available for screen readers:
   * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
   *
   * 1. For long content, line feeds are not interpreted as spaces and small width
   *    causes content to wrap 1 word per line:
   *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
   */
  
  .sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
  }
  
  /*
   * Extends the .sr-only class to allow the element
   * to be focusable when navigated to via the keyboard:
   * https://www.drupal.org/node/897638
   */
  
  .sr-only.focusable:active,
  .sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
  }
  
  /*
   * Hide visually and from screen readers, but maintain layout
   */
  
  .invisible {
    visibility: hidden;
  }
  
  /*
   * Clearfix: contain floats
   *
   * For modern browsers
   * 1. The space content is one way to avoid an Opera bug when the
   *    `contenteditable` attribute is included anywhere else in the document.
   *    Otherwise it causes space to appear at the top and bottom of elements
   *    that receive the `clearfix` class.
   * 2. The use of `table` rather than `block` is only necessary if using
   *    `:before` to contain the top-margins of child elements.
   */
  
  .clearfix::before,
  .clearfix::after {
    content: " ";
    display: table;
  }
  
  .clearfix::after {
    clear: both;
  }
  
  /* ==========================================================================
     EXAMPLE Media Queries for Responsive Design.
     These examples override the primary ('mobile first') styles.
     Modify as content requires.
     ========================================================================== */
  
  @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
  }
  
  @media print,
    (-webkit-min-device-pixel-ratio: 1.25),
    (min-resolution: 1.25dppx),
    (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
  }
  
  /* ==========================================================================
     Print styles.
     Inlined to avoid the additional HTTP request:
     https://www.phpied.com/delay-loading-your-print-css/
     ========================================================================== */
  
  @media print {
    *,
    *::before,
    *::after {
      background: #fff !important;
      color: #000 !important;
      /* Black prints faster */
      box-shadow: none !important;
      text-shadow: none !important;
    }
  
    a,
    a:visited {
      text-decoration: underline;
    }
  
    a[href]::after {
      content: " (" attr(href) ")";
    }
  
    abbr[title]::after {
      content: " (" attr(title) ")";
    }
  
    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
      content: "";
    }
  
    pre {
      white-space: pre-wrap !important;
    }
  
    pre,
    blockquote {
      border: 1px solid #999;
      page-break-inside: avoid;
    }
  
    /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
      display: table-header-group;
    }
  
    tr,
    img {
      page-break-inside: avoid;
    }
  
    p,
    h2,
    h3 {
      orphans: 3;
      widows: 3;
    }
  
    h2,
    h3 {
      page-break-after: avoid;
    }
  }
  
 /*--------------------------------------------------------------
  ### #### General style ### ####
  --------------------------------------------------------------*/
  * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
  }
  html {
    scroll-behavior: smooth;
  }
  
  :root {
    --black: #868684;
    --blue: #296697;
    --gray: #ECECEC;
	--light-blue: #4A88A9;
  }
  /*
    var(--gray);
    font-family: 'Playfair Display', serif;
  */
  body {
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 0;
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  a, p, button, input {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  .w960 {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
  }
  .w1180 {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
  }
  .w1330 {
    max-width: 1330px;
    width: 100%;
    margin: 0 auto;
  }
  .w1440 {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
  }
  .w1640 {
    max-width: 1640px;
    width: 100%;
    margin: 0 auto;
  }
  .cnt {
    text-align: center;
  }
  .rgt {
    text-align: right;
  }
  .lft {
    text-align: left;
  }
  .np {
    padding-left: 0;
    padding-right: 0;
  }
  figure {
    margin: 0; padding: 0;
    display: inline-block;
  }
  nav {
    margin: 0; padding: 0;
  }
  .mp{
    margin: 0; padding: 0;
  }
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  ::-webkit-scrollbar-thumb {
    background: rgba(40, 40, 52, 1);
    transition: all .12s ease-in;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(40, 40, 52, .7);
  }
  ::-moz-selection {
    color: #fff;
    background: rgba(14, 59, 140, 1);
  }
  ::selection {
    color: #fff;
    background: rgba(14, 59, 140, 1);
  }
  .bold {
    font-weight: 700;
  }
  .mt20 {
    margin-top: 30px;
  }
  .mt30 {
    margin-top: 30px;
  }
  .mt40 {
    margin-top: 40px;
  }
  .rel {
    position: relative;
  }
  .mob-non {
    display: none;
  }
  @media only screen and (max-width: 768px) {
    .mob-non {
      display: block;
    }
    .mob-np {
      padding-left: 0;
      padding-right: 0;
    }
    .mob-cnt {
      text-align: center
    }
    .mob-mt0 {
      margin-top: 0;
    }
    .mob-mt30 {
      margin-top: 30px;
    }
    .mob-w50 {
      -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
  }
  
/*--------------------------------------------------------------

  Main style

--------------------------------------------------------------*/

/** Header **/
header#Header {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  z-index: 99;
}
section.sec-h {
  position: relative;
  padding: 70px 0;
}
ul.ul-h {
  position: relative;
  display: inline-block;
  margin: 0; padding: 0;
}
ul.ul-h li {
  display: inline-block;
}
a.a-h,
a.a-h:is(:active, :visited) {
  display: inline-block;
  padding: 5px 5px 5px 15px;

  font-size: 20px;
  line-height: 25px;
  color: var(--blue);

  transition: opacity .3s ease-in-out;
}
a.a-h:is(:hover, :focus, :focus-within) {
  text-decoration: none;
  opacity: .5;
}

/** section hero **/
section.sec-hero {
  position: relative;
  padding: 200px 0 60px 0;

  background-image: url('../img/sec-hero.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

section.sec-hero-main {
  position: relative;
  padding: 200px 0 60px 0;

  background-image: url('../img/sec-hero-main.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

section.sec-hero-proj {
  position: relative;
  padding: 200px 0 60px 0;

  background-image: url('../img/sec-hero-proj.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

figure.fig-hero {
  position: relative;
  margin: 0 0 80px 0;
}
img.img-hero {
  max-width: 560px;
  width: 100%;
}
figure.fig-hero-b {
  display: block;
  position: relative;
  margin: 0 0 80px 0;
}
img.img-hero-b {
  max-width: 560px;
  width: 100%;
}
figure.fig-hero-c {
  position: relative;
  margin: 0 0 200px 0;
}
img.img-hero-c {
  max-width: 450px;
  width: 100%;
}

/** section hero b**/
section.sec-hero-b {
  position: relative;
  padding: 0 0 170px 0;
  background-color: var(--gray);
}

section.sec-hero-b-main {
  position: relative;
  padding: 0 0 0 0;
  background-color: var(--gray);
}

div.row-hero-b-btn {
  position: relative;
  top: -30px;
}
div.row-hero-b {
  position: relative;
  padding: 60px 0 0 0;
}

div.row-hero-b-strefa {
  position: relative;
  padding: 150px 0 0 0;
}

div.box-hero-b {
  position: relative;
}
h2.h2-hero-b {
  position: relative;
  margin: 0 0 100px 0;
  font-size: 60px;
  line-height: 70px;
  color: var(--blue);
}
p.p-hero-b {
  margin: 0;
  font-weight: 600;
  font-size: 32px;
  line-height: 42px;
}
a.btn-blue,
a.btn-blue:is(:active, :visited) {
  display: inline-block;
  position: relative;
  padding: 10px 30px;

  font-weight: bold;
  font-size: 24px;
  line-height: 34px;

  background-color: var(--blue);
  border: 2px solid var(--blue);
  color: #fff;
  border-radius: 0;

  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
a.btn-blue:is(:hover, :focus, :focus-within) {
  text-decoration: none;
  color: var(--blue);
  background-color: #fff;
}
a.btn-white,
a.btn-white:is(:active, :visited) {
  display: inline-block;
  position: relative;
  padding: 10px 30px;

  font-weight: bold;
  font-size: 24px;
  line-height: 34px;

  background-color: #fff;
  border: 2px solid #fff;
  color: var(--blue);
  border-radius: 0;

  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
a.btn-white:is(:hover, :focus, :focus-within) {
  text-decoration: none;
  color: #fff;
  background-color: var(--blue);
}
div.box-hero-b-btn a.btn-white {
  display: inline-block;
  margin: 0 20px 0  0;
}

a.btn-light-blue,
a.btn-light-blue:is(:active, :visited) {
  display: inline-block;
  position: relative;
  padding: 10px 30px;

  font-weight: bold;
  font-size: 24px;
  line-height: 34px;

  background-color: var(--light-blue);
  border: 2px solid var(--light-blue);
  color: #fff;
  border-radius: 0;

  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
a.btn-light-blue:is(:hover, :focus, :focus-within) {
  text-decoration: none;
  color: var(--light-blue);
  background-color: #fff;
}

.disabled-btn{
	pointer-events: none;
}

/** section opis **/
section.sec-op {
  position: relative;
}
div.col-bg-lft {
  padding-left: 0;
}
div.col-bg-rgt {
  padding-right: 0;
}
div.bg-op {
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
div.box-op {
  position: relative;
  padding: 120px 0;
}
div.box-op-lft {
  padding-left: 60px;
}
div.box-op-rgt {
  padding-right: 60px;
}
h3.h3-op {
  margin: 0 0 70px 0;
  font-weight: normal;
  font-size: 48px;
  line-height: 58px;
  color: var(--blue);
}
h3.h3-op b {
  font-weight: bold;
}
p.p-page {
  margin: 0;
  font-weight: normal;
  font-size: 32px;
  line-height: 42px;
}
.p-page-grey{
  color:#414042;
  font-weight:300!important;
}

/** section action **/
section.sec-act {
  position: relative;
  padding: 180px 0;
  background-color: var(--gray);
}
h4.h4-act {
  margin: 0 0 100px 0;
  font-size: 50px;
  line-height: 60px;
  color: var(--blue);
}
p.p-act {
  margin: 0;
  font-size: 32px;
  line-height: 42px;
}
div.box-act-btn {
  position: absolute;
  right: 0; bottom: 0;
}

/** section kontakt **/
section.sec-kon {
  position: relative;
  padding: 120px 0;

  background-image: url('../img/bg-kon.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
div.box-kon {
  position: relative;
}
h4.h4-kon {
  margin: 0 0 70px 0;
  font-weight: 300;
  font-size: 60px;
  line-height: 70px;
  color: #fff;
}
h4.h4-kon b {
  font-weight: bold;
}
p.p-kon {
  margin: 0 0 65px 0;
  font-weight: 300;
  font-size: 38px;
  line-height: 48px;
  color: #fff;
}
p.p-kon b {
  font-weight: bold;
}
div.box-kon-href {
  position: relative;
}
a.a-kon,
a.a-kon:is(:active, :visited) {
  position: relative;
  display: inline-block;
  padding: 0 0 0 70px;

  font-weight: bold;
  font-size: 65px;
  line-height: 75px;
  color: #fff;

  transition: color .3s ease-in-out;
}
a.a-kon:is(:hover, :focus, :focus-within) {
  text-decoration: none;
  color: rgba(255,255,255,.5);
}
a.a-kon::before {
  content: '';
  background-image: url('../img/icon-tel.png');
  width: 50px; height: 50px;
  background-size: 50px;
	background-repeat: no-repeat;
  display: inline-block;

  position: absolute;
  left: 0; top: 52%;
  transform: translate(0, -50%);
}

/** Footer **/
footer#Footer {
  position: relative;
  padding: 40px 0;
  background-color: #f1f1f1;
}
div.box-f-sm {
  display: inline-block;
}
ul.ul-f {
  display: inline-block;
  margin: 0; padding: 0; 
}
ul.ul-f li {
  display: inline-block;
}
a.a-f,
a.a-f:is(:active, :visited) {
  display: inline-block;
  padding: 0 15px 0 0;
  font-size: 14px;
  line-height: 24px;
  color: rgba(0,0,0,.6);

  transition: color .3s ease-in-out;
}
a.a-f:is(:hover, :focus, :focus-within) {
  text-decoration: none;
  color: rgba(0,0,0,1);
}
figure.fig-f { 
  position: relative;
}
img.img-f {
  max-width: 300px;
  width: 100%;
}

  /** footer sm **/
div.box-f-content {
  position: relative;
  top: 10px;
}
div.box-f-sm {
  position: relative;
  margin: 0 30px 0 0;
}
figure.fig-f-sm {
  position: relative;
  margin: 0 3px;
}
img.img-f-sm {
  max-width: 25px;
  width: 100%;
}

.box-hero-b-btn a{
	position: fixed!important;
    top: 0;
    right: 0;
    z-index: 1000;
	margin:0!important;
     -webkit-transform: rotate(-90deg) translate3d( 0, 0, 0);
  -moz-transform: rotate(-90deg) translate3d( 0, 0, 0);
  -ms-transform: rotate(-90deg) translate3d( 0, 0, 0);
  -o-transform: rotate(-90deg) translate3d( 0, 0, 0);
  transform: rotate(-90deg) translate3d( 0, 0, 0);
}

.box-hero-b-btn-main a{
	position: fixed!important;
    top: 0;
    right: 0;
    z-index: 1000;
	margin:0!important;
     -webkit-transform: rotate(0deg) translate3d( 0, 0, 0);
  -moz-transform: rotate(0deg) translate3d( 0, 0, 0);
  -ms-transform: rotate(0deg) translate3d( 0, 0, 0);
  -o-transform: rotate(0deg) translate3d( 0, 0, 0);
  transform: rotate(0deg) translate3d( 0, 0, 0);
}

.box-hero-b-btn-strefa a{
	position: absolute!important;
    top: 0;
    right: 0;
    z-index: 1000;
	margin:0!important;
	transform: scale(1.5);
}

.box-hero-b-btn-strefa a span{
	font-weight:400!important;
}

.box-hero-b-btn-strefa a.btn-light-blue{
	top:0px;
	right:225px;
}
.box-hero-b-btn-strefa a.btn-blue{
	top:-30px;
	right:450px;
}

.box-hero-b-btn-main a.btn-light-blue{
	top:0px;
	right:225px;
}
.box-hero-b-btn-main a.btn-blue{
	top:0px;
	right:450px;
}

.box-hero-b-btn a.btn-white{
	top:77px;
	right:-76px;
}
.box-hero-b-btn a.btn-blue{
	top:320px;
	right:-80px;
}
.mob-only{
	display:none;
}
@media only screen and (max-width: 990px) {
	.desk-only{
		display:none;
	}
	.mob-only{
		display:block;
	}
	section.sec-h{
		padding:35px 0;
	}
	ul.ul-h{
		width:100%;
		margin-bottom:20px;
	}
	ul.ul-h li{
		display:block;
		text-align:center;
		width:100%;
		border-bottom:1px solid #fff;
	}
	ul.ul-h li:last-child{
		border-bottom:0px solid #fff;
	}
	a.a-h, a.a-h:is(:active, :visited){
		width:100%;
		background:rgba(255,255,255,0.4);
		font-weight:bold;
	}
	.box-hero-b-btn a,
	.box-hero-b-btn-strefa a{
		transform:initial;
		position:relative!important;
		top:initial!important;
		right:initial!important;
	}
	.box-hero-b-btn-strefa a{
		/* padding: 0 25px 0 15px!important; */
	}
	.mob-only a.btn{
		width:100%;
		margin-bottom:15px!important;
	}
	.fig-hero{
		margin-top:30px!important;
		margin-bottom:40px!important;
	}
	figure.fig-hero-b{
		margin-bottom:40px;
	}
	h2.h2-hero-b{
		font-size:30px;
		line-height:36px;
		margin-bottom:50px;
	}
	p.p-hero-b{
		font-size:18px;
		line-height:24px;
	}
	figure.fig-hero-c{
		margin-bottom:70px;
	}
	h3.h3-op{
		font-size:22px;
		line-height:26px;
		margin-bottom:35px;
	}
	section.sec-hero-b{
		padding-bottom:60px;
	}
	div.box-op{
		padding:60px 0 30px;
	}
	p.p-page,
	p.p-act,
	p.p-kon{
		font-size:18px;
		line-height:24px;
	}
	p.p-kon{
		margin-bottom:30px;
	}
	section.sec-act,
	section.sec-kon{
		padding:60px 0;
	}
	section.sec-kon{
		background-position:center left;
	}
	h4.h4-act,
	h4.h4-kon{
		font-size:26px;
		line-height:30px;
		margin-bottom:35px;
	}
	section.sec-act div.box-act-btn{
		position:relative;
		margin-top:30px;
	}
	a.a-kon, a.a-kon:is(:active, :visited){
		font-size:30px;
	}
	.bg-op{
		min-height:300px;
	}
	.col-bg-lft,
	.col-bg-rgt{
		padding-left:0;
		padding-right:0;
	}
	div.box-f-content{
		text-align:center;
	}
	div.box-f-sm{
		margin-right:0;
	}
	section.sec-hero {
		background-image: url('../img/sec-hero-mob.jpg');
		background-position:center top;
	}
	section.sec-kon {
		background-image: url('../img/bg-kon-mob.jpg');
	}
	div.row-hero-b-strefa {
	  padding: 60px 0 0 0;
	}
}