/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-bottom: 40px;
  color: #5a5a5a;
  font-family: 'Quicksand',sans-serif;
  font-weight: 400;
}

a, a:hover {
  color: #5a5a5a;
}

h2, .marketing h2 {
  line-height: 1.8;
  padding-top: 0.4em;
  font-family: 'Quicksand',sans-serif;
}

h2.featurette-heading {
  line-height: 1.2;
  padding-top: 0;
  font-weight: 300;
}

a.phone {
  font-weight:700;
  font-size:24px;  
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}
div.navbar-wrapper {
  
  background-color: rgba(85, 85, 85, 0.50);
  margin-top:0;
  padding-top:20px;
}

div.navbar-wrapper-with-background {
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-image: url(img/glowne-5.jpg); 
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}
.nav > a:active {
  background-color: rgba(255, 0, 0, 1);
}

.navbar-toggle .icon-bar {
  background-color: #CCC;
}

.navbar-wrapper a {
  color: #FFF;
}

.nav>li>a:focus, .nav>li>a:hover {
  background-color: #00AA00;
}

#navbar-phone {
  color: #33FF33;
  margin-left:6px;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 60px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  background-color: #777;
}
  
.carousel-inner > .item > .slides {
  height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.carousel-inner > .item > .slide-1 {
  background-image: url(img/magnoliowa2.jpg); 
}

.carousel-inner > .item > .slide-2 {
  background-image: url(img/magnoliowa1.jpg); 
}

.carousel-inner > .item > .slide-3 {
  background-image: url(img/glowne-1.jpg); 
}

a.carousel-control.down  {
  bottom:70px;
  top:auto;
  left:50%;
  opacity: 0.7;
  color:#FF0000;
}

.carousel-control.down > span  {
  margin:auto;
  left:-50%;
  font-size:50px;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}

.marketing li {
  text-align: left;
  font-size: 18px;
}
.marketing h2 {
  font-weight: 300;
}
h2.naglowek_galerii {
  margin-left: 18px;
}
.marketing .col-lg-4 p {
  margin-right: 15px;
  margin-left: 15px;
}
.marketing .col-md-3 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing .col-md-3 p {
  margin-right: 10px;
  margin-left: 10px;
}

.marketing .diagram-box {
  border:solid 1px #000;
  width: 100px;
  height:10px;
  font-size: 5em;
}

.marketing .diagram-description {
  border:solid 1px #000;
  width: 100px;
  height:100px;
}

.marketing .motto-descr {
  text-align: justify;
  margin-top: 20px;
  font-size: 18px;
  line-height: 180%;
}
/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}
.projekty {
  line-height: 120%;
  font-weight: 300;
}
.featurette .lead {
  text-align: justify;
  margin-top: 30px;
  margin-left: 20px;
  margin-right: 20px;
  line-height: 1.6;
}

.navbar-wrapper {
  margin-top: 20px;
  font-family: 'Poiret One', cursive;
  font-weight: 700;
}

.navbar-nav>li>a {
  font-size: 19px;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 1000px) {
  /* Navbar positioning foo */
  
  .navbar-wrapper {
    font-weight: 700;
  }

  .navbar-wrapper li {
    border-right: solid 1px #999;
  }
  .navbar-header a {
    border: solid 1px #999;
    border-bottom: 0;
    border-top: 0;
  }
  #navbar-phone {
    border: 0;
  }


  .navbar>.container> navbar-phone {
    margin-left:6px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }
  .navbar {
    border-top: solid 1px #999;
    border-bottom: solid 1px #999;
    font-size:1.4em;
  }
  .nav > li a:hover {
    background-color: #00AA00;
  }
  .nav > li a:visited {
    background-color: #00AA00;
  }
  .dropdown-menu > li {
    background-color: rgba(0,0,0,0.1);
    z-index:49;
  }
  .dropdown-menu > li a:visited {
    background-color: #00AA00;
  }
  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 1000px) {
  .featurette-heading {
    margin-top: 30px;
    margin-bottom: 40px;
  }
  .projekty {
    margin-top:0px;
  }
}


.gal-container{
	padding: 12px;
}
.gal-item{
	overflow: hidden;
	padding: 3px;
}
.gal-item .box{
	height: 350px;
	overflow: hidden;
}
.box img{
	height: 100%;
	width: 100%;
	object-fit:cover;
	-o-object-fit:cover;
}
.gal-item > .box > a:focus{
	outline: none;
}
.gal-item > .box > a:after{
	content:"\e003";
	font-family: 'Glyphicons Halflings';
	opacity: 0;
	background-color: rgba(0, 0, 0, 0.75);
	position: absolute;
	right: 3px;
	left: 3px;
	top: 3px;
	bottom: 3px;
	text-align: center;
    line-height: 350px;
    font-size: 30px;
    color: #fff;
    -webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;
}
.gal-item > .box > a:hover:after{
	opacity: 1;
}
.modal-open .gal-container .modal{
	background-color: rgba(0,0,0,0.4);
}
.modal-open .gal-item .modal-body{
	padding: 0px;
}
.modal-open .gal-item button.close{
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #000;
    opacity: 1;
    color: #fff;
    z-index: 999;
    right: -12px;
    top: -12px;
    border-radius: 50%;
    font-size: 15px;
    border: 2px solid #fff;
    line-height: 25px;
    -webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,0.35);
	box-shadow: 0 0 1px 1px rgba(0,0,0,0.35);
}
.modal-open .gal-item button.close:focus{
	outline: none;
}
.modal-open .gal-item button.close span{
	position: relative;
	top: -3px;
	font-weight: lighter;
	text-shadow:none;
}
.gal-container .modal-dialogue{
	width: 80%;
}
.gal-container .description{
	position: relative;
	height: 40px;
	top: -40px;
	padding: 10px 25px;
	background-color: rgba(0,0,0,0.5);
	color: #fff;
	text-align: left;
}

.gal-container .nextimg{
	position: relative;
	height: 100%;
  top: -100%;
  width: 50px;
	padding: 10px 25px;
	background-color: rgba(0,0,0,0.5);
	color: #fff;
	text-align: left;
}
.gal-container .description h4{
	margin:0px;
	font-size: 15px;
	font-weight: 300;
	line-height: 20px;
}
.gal-container .modal.fade .modal-dialog {
    -webkit-transform: scale(0.1);
    -moz-transform: scale(0.1);
    -ms-transform: scale(0.1);
    transform: scale(0.1);
    top: 100px;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.gal-container .modal.fade.in .modal-dialog {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transform: translate3d(0, -100px, 0);
    transform: translate3d(0, -100px, 0);
    opacity: 1;
}
@media (min-width: 1000px) {
.gal-container .modal-dialog {
    width: 60%;
    max-height:90%;
    margin: 50 auto;
}
}
.gal-nav {
    position: absolute;
    top: 50%;
    display: block;
    transform: translate(0, -50%);
    color:#CCC;
    font-size: 3em;
}

.gal-nav:hover {
    color:#FFF;
}
.gal-prev {
    left: 0.5em;
}
.gal-next {
    right: 0.5em;
}

@media (max-width: 1000px) {
    .gal-container .modal-content{
        height:250px;
    }
}
