/*
Theme Name: Prusa Bootstrap
Theme URI: http://josefprusa.cz
Description: Simple theme!
Author: Josef Prusa
Author URI: http://josefprusa.cz
Version: 1.2
Tags: responsive, white, bootstrap

License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
License URI: http://creativecommons.org/licenses/by-sa/3.0/
*/
@import url('bootstrap/css/bootstrap.css');
/*@import url('bootstrap/css/bootstrap-responsive.css');*/



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

body {
  padding-bottom: 40px;
  color: #5a5a5a;
}

.navbar-wrapper .navbar {
border-radius: 0px;
}

/* Responsive video */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Sticky footer styles
-------------------------------------------------- */

html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto;
  /* Negative indent footer by its height */
  margin: 0 auto -60px;
  /* Pad bottom by footer height */
  padding: 0 0 60px;
}

/* Set the fixed height of the footer here */
#footer {
  background-color: #EEEEEE;
  padding-top:30px;
  padding-bottom:30px;
  margin-top:70px;
}


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

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: relative;
  z-index: 15;
}

.jumbotron {
   position: relative;
   margin-top: 25px;
}
.jumbotron:after {
          background: url("https://josefprusa.cz/wp-content/uploads/2016/09/jumbotron_farma.jpg") no-repeat scroll center center transparent;
          bottom: 0;
          content: "";
          display: block;
          left: 0;
          opacity: 1;
          position: absolute;
          right: 0;
          top: 0;
          z-index: 0;
      }
      .jumbotron .container {
          z-index: 100;
          min-height: 216px;
}

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

/* Carousel base class */
.carousel {
  margin-bottom: 60px;

  /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */
  margin-top: -90px;
}
/* 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 {
  height: 500px;
  background-color: #777;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 500px;
}



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

/* Pad the edges of the mobile views a bit */
.marketing {
  padding-left: 15px;
  padding-right: 15px;
}

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  text-align: center;
  margin-bottom: 20px;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-left: 10px;
  margin-right: 10px;
}


/* 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;
}



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

@media (min-width: 768px) {

  /* Remove the edge padding needed for mobile */
  .marketing {
    padding-left: 0;
    padding-right: 0;
  }

  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  /* The navbar becomes detached from the top, so we round the corners */


  /* 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: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}


/*
 * Side navigation
 *
 * Scrollspy and affixed enhanced navigation to highlight sections and secondary
 * sections of docs content.
 */

/* By default it's not affixed in mobile views, so undo that */
.bs-sidebar.affix {
  position: static;
}

/* First level of nav */
.bs-sidenav {
  margin-top: 0px;
  margin-bottom: 30px;
  padding-top:    10px;
  padding-bottom: 10px;
  text-shadow: 0 1px 0 #fff;
  background-color: #dddddd;
  border-radius: 5px;
}

/* All levels of nav */
.bs-sidebar .nav > li > a {
  display: block;
  color: #666666;
  padding: 5px 20px;
}
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
  text-decoration: none;
  background-color: #eeeeee;
  border-right: 1px solid #dbd8e0;
}
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
  font-weight: bold;
  color: #333333;
  background-color: transparent;
  border-right: 1px solid #333333;
}

/* Nav: second level (shown on .active) */
.bs-sidebar .nav .nav {
  display: none; /* Hide by default, but at >768px, show it */
  margin-bottom: 8px;
}
.bs-sidebar .nav .nav > li > a {
  padding-top:    3px;
  padding-bottom: 3px;
  padding-left: 30px;
  font-size: 90%;
}

/* Show and affix the side nav when space allows it */
@media screen and (min-width: 992px) {
  .bs-sidebar .nav > .active > ul {
    display: block;
  }
  /* Widen the fixed sidebar */
  .bs-sidebar.affix,
  .bs-sidebar.affix-bottom {
    width: 213px;
  }
  .bs-sidebar.affix {
    position: fixed; /* Undo the static from mobile first approach */
    top: 20px;
  }
  .bs-sidebar.affix-bottom {
    position: absolute; /* Undo the static from mobile first approach */
  }
  .bs-sidebar.affix-bottom .bs-sidenav,
  .bs-sidebar.affix .bs-sidenav {
    margin-top: 0;
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1200px) {
  /* Widen the fixed sidebar again */
  .bs-sidebar.affix-bottom,
  .bs-sidebar.affix {
    width: 263px;
  }
}

.alignright {float:right; margin:0 0 1em 1em}
.alignleft {float:left; margin:0 1em 1em 0}
.aligncenter {display: block; margin-left: auto; margin-right: auto}
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.wp-caption{max-width: 100%;height: auto;}
.wp-caption img{max-width: 100%;height: auto;}
.wp-caption a img{max-width: 100%;height: auto;}
img{max-width: 100%;height: auto;}

/* Prusa Custom Styles */
.container{
    /* to create space for shareaholic share plugin - 40px + 15px */
    padding-left:55px;
    }
.prusa-hero{
	padding:25px 25px;
	background-color: #F0F0F0;
	border:1px solid #E6E6E6;
	margin-top:20px;
	margin-bottom:20px;
}
.prusa-hero img {
	width:100%;
}
.prusa-hero .alignright{
	float:right;
width: auto;
}
.prusa-hero .alighleft{
	float: left;
width:auto;
}
.prusa-hero:before,
.prusa-hero:after {
    content: " ";
    display: table;
}
.prusa-hero:after {
    clear: both;
}

/* Better blog appearance */
.articles{
    padding-left:15px;
    }
.article{
    padding-bottom:20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #EEEEEE;
    }

.article .image-wrap{
    float:left;
    width:300px;
    padding-right:20px;
    }

.article .image-wrap img{
        width: 100%;
        height: auto;
    }

.article .title{
    margin-top: 0;
    }

.article .excerpt{
    margin-bottom: 0;
    }

.article-detail{
    padding-top:30px;
    }
.article-detail h1{
    margin-top:0;
    }

.printers .printer{
    width:100%;
    max-width:300px;
    }
.printers p{
    text-align:center;
    color: #999999;
    }
@media screen and ( max-width : 680px ) {
	.article-detail table td {
		display: block;
		width: 100%;
		padding-bottom: 2rem;
	}
	.article-detail table td img.alignleft,
	.article-detail table td img.alignright {
		float: none;
		display: block;
		margin: 0 auto;
	}
	.article-detail table tr {
		display: block;
		padding-top: 1rem;
		padding-bottom: 2rem;
		border-bottom: 1px solid #5a5a5a;
	}
	.article-detail .btn {
		white-space: normal;
	}
	.article-detail table.mobile-friendly-table td,
	.article-detail table.no-mobile-change td {
		display: table-cell;
		width: auto;
		padding-bottom: 0;
	}
	.article-detail table.mobile-friendly-table td:first-child {
		width: 34px;
		height: auto;
	}
	.article-detail table.mobile-friendly-table td:first-child img {
		max-width: 100%;
		max-height: 100%;
	}
	.article-detail table.mobile-friendly-table tr,
	.article-detail table.no-mobile-change tr {
		display: table-row;
		padding: 0;
		border-bottom: 0 none;
	}
}