/*
Theme Name: Komputery
Author: Natalia Kiełbicka
Author URI: http://nataliakielbicka.pl/
Version: 1.1.10
License: GNU General Public License v3.0 /
License URI: http://www.gnu.org/licenses/gpl-3.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

This theme is the most seamless and minimalistic integration of Twitter Bootstrap Framework into
the _s starter theme from Automattic, the guys behind WordPress.

_s (or Underscores) http://underscores.me/, (C) 2012-2013 Automattic, Inc. Twitter Bootstrap

Credits:

1. Bootstrap

 * Bootstrap v3.3.6 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)

 * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=f58353a31151a8c05d7c)
 * Config saved to config.json and https://gist.github.com/f58353a31151a8c05d7c

2. wp_bootstrap_navwalker

* Class Name: wp_bootstrap_navwalker
* GitHub URI: https://github.com/twittem/wp-bootstrap-navwalker

3. Glyphicons

 * http://getbootstrap.com/components/

*/

/* My Minimal WordPress Styling comes here */

/* This is a small security for too long strings titles */
body {
	word-wrap: break-word;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}


/* Images and wp-captions should always fit and be responsive */
img {
	display: inline-block;
	height: auto;
	max-width: 100%;
}
img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	max-width: 100%;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 0 10px;
}
.wp-caption.aligncenter {
	margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption .wp-caption-text {
	text-align: center;
	margin-top: 10px;
}

/* WP Gallery */
.gallery {
	margin-bottom: 1.5em;
}
.gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.gallery dd {
	margin: 0;
}
.gallery-caption {
	display: block;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}


/* Content */
.main-content-inner {
	padding-bottom: 1.5em;
}
.hentry {
	margin: 0 0 1.5em;
}
.sticky {
	display: block;
}
.bypostauthor {
	display: block;
}


/* Clearing */
.clear {
	clear: both;
}

/* Navigation */

.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:active>.dropdown-menu, .dropdown-submenu:hover>.dropdown-menu {
display: block;
}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:active>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}


/* Here some needed widget styles
 * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */
.widget { margin-bottom: 2em; }
.widget_nav_menu ul.sub-menu li, .widget_pages ul.children li { padding-left: 15px; }

/* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line.
 * Note: you can change the whole appearance of the search_form() function in our searchform.php */
.widget_search .search-form input[type="submit"] { display: none; }

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Nested comments? They are threaded and nested already, you just need to add your own styling to finalize!
 * For example with some margin, like the line below ;) Delete, modify, change classes in HTML if you desire another style */
 .comment .children { margin-left: 1.5em; }

/**
* Some WP Theme Repository requirements
*/

.sticky {
}

.gallery-caption {

}

.bypostauthor {

}

.entry-meta {
	clear: both;
}

/* custom styles */
body {
  font-family: 'Ubuntu', sans-serif;
}
header.site-header {
  background: url("includes/img/header1.jpg") no-repeat center center / cover;
  height: 500px;
}
h1.site-title {
  font-size: 45px;
  padding: 150px 0 0 0;
  text-align: center;
}
h1.site-title a {
  color: #fff;
  text-shadow: 2px 2px 10px #121F41;
}
h1.site-title a:hover {
  text-decoration: none;
}
a:focus,
a:active {
  outline: none;
}
.wrapper {
  background-color: #fff;
  box-shadow: 0 0 10px #ddd;
  margin-top: -150px;
}
.navbar-default {
  background-color: #121F41;
  border: none;
  border-radius: 0;
}
.navbar-default .navbar-collapse {
  border: none;
}
.navbar-default .navbar-nav > li > a {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 30px;
  text-transform: lowercase;
}
.navbar-default .navbar-nav > li > a:hover {
  color: #f2f2f2;
}
.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus {
  background-color: #fff;
  color:  #121F41;
}
.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:hover, 
.navbar-default .navbar-nav > .open > a:focus,
.dropdown-menu > .active > a, 
.dropdown-menu > .active > a:hover, 
.dropdown-menu > .active > a:focus,
.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:hover, 
.navbar-default .navbar-nav > .open > a:focus, 
.dropdown-menu > .active > a, 
.dropdown-menu > .active > a:hover, 
.dropdown-menu > .active > a:focus,
.dropdown-menu li a:hover,
.dropdown-menu li a:focus {
  background-color: #121F41 !important;
  color:  #fff !important;
}
.dropdown-menu {
  background-color: #121F41;
  border: none;
  color:  #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 30px;
  text-transform: lowercase;
}
.dropdown-menu > li > a,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color:  #fff;
}
.main-content-inner {
  padding: 20px 70px 20px 50px;
}
.site-info p {
  text-align: center;
}
.img-wrapper {
  margin-top: 20px;
  max-height: 200px;
  overflow: hidden;
  position: relative;
}
.cat-links {
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #136DA7;
  color:  #fff;
  padding: 10px;
}
.cat-links a {
  color: #fff;
}
.cat-links a:hover {
  text-decoration: none;
} 
h2.page-title {
  font-size: 25px;
}
a {
  color: #555;
}
p {
  color: #333;
}
.hentry {
  min-height: 555px;
}
.navbar-default .navbar-toggle {
  border-radius: 0;
  border: 2px solid #fff;
  padding: 15px;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:active,
.navbar-default .navbar-toggle:focus {
  background-color: transparent;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #fff;
}
i {
  color: #999;
  display: block;
  margin-bottom: 10px;
}
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-collapse.collapse {
        display: none !important;
    }
    .navbar-collapse.collapse.in {
        display: block !important;
    }
    .navbar-header .collapse, .navbar-toggle {
        display:block !important;
    }
    .navbar-header {
        float:none;
      padding: 7px;
    }
  .navbar-nav {
    float: none;
    width: 100%;
  }
  .navbar-nav > li {
    float: none;
  }
  .navbar-default .navbar-nav > li > a {
    display: block;
    padding: 5px 0 15px 0;
    text-align: center;
    width: 100%;
  }
}

@media all and (max-width: 991px) {
  .img-wrapper {
    max-height: none;
  }
  .img-wrapper img {
    display: block
    margin: auto;
  }
  h1.site-title {
    font-size: 35px;
    padding: 50px 0 0 0;
  }
  header.site-header {
    height: 350px;
  } 
  .navbar-collapse {
    box-shadow: none;
  }
  .navbar-header {
        float:none;
      padding: 7px;
    }
  .navbar-nav {
    float: none;
    width: 100%;
    margin: 0;
  }
  .navbar-nav > li {
    float: none;
  }
  .navbar-default .navbar-nav > li > a {
    display: block;
    padding: 5px 0 15px 0;
    text-align: center;
    width: 100%;
  }
}

@media all and (max-width: 500px) {
  .wrapper {
    margin-top: -50px;
  }
  .main-content-inner {
    padding: 15px;
  }
  h1.site-title {
    font-size: 30px;
    padding: 43px 0 0 0;
  }
  header.site-header {
    height: 250px;
  }
}
@media all and (min-width: 992px) and (max-width: 1199px) {
  .navbar-default .navbar-nav > li > a {
    padding: 30px 16px;
  }
}