/* ----------------------------------- GLOBAL -------------------------------------- */
html, body {
  position: relative;
  padding: 0;
  margin: 0;
  height: 100%;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  background: #231f20;
}
a {
  color: #fff;
  text-decoration: none;
}
img {
  max-width: 100%;
}

.animated {
  opacity: 0;
}
  .animated.fadeIn,
  .animated.fadeInUp,
  .animated.fadeInDown,
  .animated.fadeInLeft,
  .animated.fadeInRight,
  .animated.zoomIn,
  .animated.flipInX,
  .animated.flipInY {
    opacity: 1;
  }
.animated.slow {
  animation-duration: 1s;
  animation-fill-mode: both;
}
.section-iframe {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 60px;
  width: 100%;
  height: calc(100% - 120px);
  border: 0;
}
#slide {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0, 0.70);
  text-align: center;
  overflow-y: auto;
  overflow-x: hidden;
}
  #slide:before {
    content: "";
    display: inline-block;
    height: 100%;
    width: 1px;
    vertical-align: middle;
  }
section {
  display: inline-block;
  width: 90%;
  padding: 50px 5%;
  box-sizing: border-box;
  vertical-align: middle;
  opacity: 0;
}
  section.animated {
    opacity: 1;
  }
  #popup section {
    padding-top: 120px;
    opacity: 1;
  }
#popup {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow-y: auto;
  background: rgba(10, 60, 97, 0.97);
  text-align: center;
  opacity: 0;
}
  #popup.animated {
    opacity: 1;
  }
  #popup.active {
    display: block;
  }
  #popup:before {
    content: "";
    display: inline-block;
    height: 100%;
    width: 1px;
    vertical-align: middle;
  }
.full-height {
  min-height: 100%;
}
.menu-button, .fullscreen-button {
  display: block;
  position: fixed;
  top: 0;
  margin: 1%;
  background: transparent;
  border: none;
  opacity: 0;
  cursor: pointer;
  outline: none;
  transition: all .3s;
  -webkit-transition: all .3s;
}
.menu-button {
  left: 0;
}
.menu-button img {
  transition: all .3s;
  -webkit-transition: all .3s;
}
.menu-button.active img {
  -webkit-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
}
.fullscreen-button {
  right: 0;
}
.back-button, .forward-button {
  display: block;
  position: fixed;
  bottom: 0;
  margin: 1%;
  opacity: 0;
  font-size: 25px;
  z-index: 2;
}
.back-button {
  left: 0;
}
.forward-button {
  right: 0;
}
  .back-button img,
  .forward-button img,
  .menu-button img,
  .fullscreen-button img {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0 10px;
    vertical-align: middle;
  }
h1 {
  margin: 0;
  font-size: 50px;
  font-weight: 700;
  text-align: center;
}
h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 100;
  text-align: center;
  text-transform: uppercase;
}
h3 {
  font-size: 25px;
  font-weight: 400;
}
h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
}
p img {
  max-height: 800px;
}
  p img.pull-left {
    margin: 8px 20px 20px 0;
  }
  p img.pull-right {
    margin: 8px 0 20px 20px;
  }

  #popup p img {
    max-width: 60%;
  }
ul {
  margin: 10px 0;
}
.video-bg {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  left: -100%;
  min-width: 100%;
  min-height: 100%;
  margin: auto;
  overflow: hidden;
}
.equal{
  display: table;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

.equal > * { 
  float: none;
  display: table-cell;
  vertical-align: top;
}
.buttons {
  width: 100%;
  border-spacing: 20px;
}
.buttons a {
  position: relative;
  overflow: hidden;
  width: 30%;
  margin: 1%;
  padding: 20px;
  box-sizing: border-box;
  background: #10427F;
  color: #fff;
  border-bottom: 4px solid #E80029;
  font-size: 18px;
  text-transform: uppercase;
}
  .buttons.numbers a {
    height: 100px;
    padding-left: 100px;
    vertical-align: middle;
    text-align: left;
  }
.buttons a img {
  display: block;
  height: 50px;
  max-width: 80%;
  margin: auto;
  margin-bottom: 10px;
  opacity: 0.7;
}
.buttons a span {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100px;
  line-height: 90px;
  margin: auto;
  font-size: 170px;
  opacity: 0.1;
}

table {
  margin: auto;
  text-align: left;
  font-size: 16px;
}
  table th, table td {
    padding: 10px 20px;
    background: rgba(16, 66, 127, 0.7);
  }

  table th.indented, table td.indented {
    padding-left: 50px;
  }

.arrow-list {
  padding: 0;
}
.arrow-list li {
  list-style: none;
  position: relative;
  margin: 10px 0;
  padding: 10px 20px;
  background: rgba(0, 123, 195, 0.9);
}
  .arrow-list li:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -20px;
    width: 0;
    height: 100%;
    border-right: 10px solid rgba(0, 123, 195, 0.9);
    border-top: 20px solid rgba(0, 123, 195, 0.9);
    border-bottom: 20px solid rgba(0, 123, 195, 0.9);
    border-left: 10px solid transparent;
    box-sizing: border-box;
  }
  .arrow-list li:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -20px;
    width: 0;
    height: 100%;
    border-right: 10px solid transparent;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 10px solid rgba(0, 123, 195, 0.9);
    box-sizing: border-box;
  }

p a {
  color: #ddd;
}
  p a:hover {
    color: #fff;
  }
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-justify {
  text-align: justify;
}
.pull-left {
  float: left;
}
.pull-right {
  float: right;
}
.pull-center {
  display: inline-block;
  float: none;
  width: auto;
  margin: auto;
}

/* ----------------------------------- APP LOADER -------------------------------------- */
#main-loader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
  background: #231f20;
	z-index: 100;
}
  #main-loader.no-bg {
    background: transparent;
  }

.loading-circle {
  margin: auto;
  width: 80px;
  height: 80px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
  .loading-circle img {
    display: block;
    width: 100%;
    height: 100%;
    animation: rotating .5s linear infinite;
  }

@-webkit-keyframes rotating {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* ----------------------------------- MENU -------------------------------------- */

nav {
  position: fixed;
  top: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  overflow-y: auto;
  background: rgba(16, 66, 127, 0.97);
  padding: 20px 0;
  box-sizing: border-box;
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: all .3s;
  -webkit-transition: all .3s;
}
  nav.active {
    top: 0;
    opacity: 1;
  }
  .nav-close {
    position: absolute;
    top: 20px;
    left: 30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }
  nav > div {
    text-align: center;
  }
  nav ul {
    list-style: none;
    display: inline-block;
    padding: 0;
    margin: 50px 30px;
    font-size: 20px;
  }
    nav ul a {
      display: inline-block;
      position: relative;
      padding: 5px 0;
      color: #bbb;
      transition: all .2s;
      -webkit-transition: all .2s;
    }
    nav ul a:before {
      content: "";
      display: inline-block;
      position: absolute;
      width: 20px;
      height: 20px;
      top: 0;
      bottom: 0;
      left: -50px;
      margin: auto;
      background: url("../img/forward-icon.svg") center center no-repeat;
      background-size: contain;
      opacity: 0;
      transition: all .3s;
      -webkit-transition: all .3s;
    }
    nav ul a:hover {
      color: #eee;
    }
    nav ul a:hover:before,
    nav ul a:target:before {
      left: -30px;
      opacity: 1;
    }
/* ----------------------------------- HOME -------------------------------------- */
#home-section {
  max-width: 1500px;
  margin: auto;
  text-align: center;
}

#logo {
  height: 250px;
}

#home-section .buttons {
  max-width: 700px;
  margin: auto;
}

/* ----------------------------------- O NAS -------------------------------------- */
#about-us-section h4 {
  margin: 30px 0;
}
#about-us-section .equal {
  width: 100%;
  margin-top: 1px;
}
#about-us-section p {
  min-width: 150px;
  padding: 20px;
  background: rgba(255,255,255,0.8);
  color: #000;
  border-right: 1px solid rgba(0,0,0,0.3);
}

#about-us-section .fas {
  display: block;
  margin-bottom: 20px;
  font-size: 40px;
  color: #10427F;
}


/* ----------------------------------- POŁOŻENIE -------------------------------------- */
.location-map {
  min-width: 60%;
}

/* ----------------------------------- KOMUNIKACJA -------------------------------------- */
#communication-section .fas {
    display: block; 
    font-size: 50px;
    margin-bottom: 20px;
    vertical-align: middle;
}

#communication-airports-map {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    background-image: url(../img/mapa-lotniska.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top 0 right -50%;
    z-index: -1;
}
#communication-airports-map.map-en {
    background-image: url(../img/mapa-lotniska_en.svg);
}
#communication-roads-map {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    background-image: url(../img/mapa-drogi.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top 0 right -20%;
    z-index: -1;
}
#communication-roads-map.map-en {
    background-image: url(../img/mapa-drogi_en.svg);
}
#communication-railway-map {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    background-image: url(../img/mapa-kolej_v2.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top 0 right -20%;
    z-index: -1;
}
#communication-railway-map.map-en {
    background-image: url(../img/mapa-kolej_v2_en.svg);
}
.communication-airport-section-content,
.communication-roads-section-content,
.communication-railway-section-content {
    width: 50%;
}

/* ----------------------------------- STRUKTURA PRZEDSIĘBIORSTW -------------------------------------- */
.enterprises-structure-pkd-chart-wrapper {
    width: 40%;
    float: left;
}
.enterprises-structure-size-chart-wrapper {
    width: 40%;
    float: right;
}

/* ----------------------------------- INFRASTRUKTURA -------------------------------------- */
#infrastructure-section .equal {
    width: 100%;
}
#infrastructure-section .equal > div {
    min-width: 150px;
    padding: 20px;
    background: rgba(255,255,255,0.8);
    color: #000;
    border-right: 1px solid rgba(0,0,0,0.3);
    border-top: 1px solid rgba(0,0,0,0.3);
}
#infrastructure-section .fas {
  display: block;
  margin-bottom: 20px;
  font-size: 40px;
  color: #10427F;
}

/* ----------------------------------- WSPARCIE DLA INWESTORA -------------------------------------- */
#investors-support-section .buttons {
    max-width: 800px;
    margin: auto;
}

#investors-support-section .buttons a {
    padding: 40px 20px;
}

/* ----------------------------------- NAJWIĘKSZE PRZEDSIĘBIORSTWA -------------------------------------- */
.investors-list {
  text-align: left;
}
.investors-list h1,
.investors-list h4 {
    margin-bottom: 30px;
}
.investors-list p {
    display: table-row;
}
.investors-list p img {
    display: table-cell;
    vertical-align: middle;
    margin-bottom: 20px;
    margin-right: 20px;
    background: #fff;
}
.investors-list p span {
    display: table-cell;
    vertical-align: middle;
    padding-bottom: 20px;
}
/* --------------------------------------------------------------------------------- */
/* ----------------------------------- MOBILE -------------------------------------- */
/* --------------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  h1 {
    font-size: 35px;
  }
  .equal > * {
    display: block;
  }

  .buttons a {
    width: auto;
  }
}
