/*
Theme Name: Bosetti
Theme URI: http://www.proformat.pl/
Description: Szablon dla firmy Bosetti
Version: 1.0
Author: Proformat
Author URI: http://www.proformat.pl/
*/

/* FONTS */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin,latin-ext); /* Lato */
@import url(https://fonts.googleapis.com/css?family=Lato:300,400,600,700&subset=latin,latin-ext); /* Lato */

html {
	height:100%;
}
body	{
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	background: url(images/bg.jpg) repeat-x #fff;
	color: #1a1d24;
	min-height:100%;
	position: relative;
	padding:0;
	background-position: left 250px;
}
body.home,
body.page-template-page-contact,
body.page-template-page-bgcre-contact {
	background-position: left 300px;
}
@media (min-width:992px) {
	body {
		background-position: left 280px;
	}
}
@media (min-width:768px) and (max-width:991px) {
	body.home,
	body.page-template-page-contact,
	body.page-template-page-bgcre-contact {
		background-position: left 400px;
	}
}
@media (min-width:992px) and (max-width:1199px) {
	body.home,
	body.page-template-page-contact,
	body.page-template-page-bgcre-contact {
		background-position: left 475px;
	}
}
@media (min-width:1200px) {
	body.home,
	body.page-template-page-contact,
	body.page-template-page-bgcre-contact {
		background-position: left 500px;
	}
}
html #wpadminbar {
    margin-top: -46px;
}
@media (min-width:768px) {
	html #wpadminbar {
		margin-top: 0;
	}
}
img {
	max-width: 100%;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
	font-weight:400;
	color: #832122;
	text-transform: uppercase;
}
h1, .h1 {
		font-size:16px;
}
h1 span {
	font-size: 14px;
	color: #4e4f55;
	padding-left: 10px;
}
	h2, .h2 {
		font-size:14px;
	}
	h3, .h3 {
		font-size:12px;
	}
	h4, .h4 {
		font-size:12px;
	}
a {
	color:#6e1c1a;
}
a:hover {
	color:#36373e;
	text-decoration: none;
}
.post_content a {
    text-decoration: none;
    color: #1a1d24;
    position: relative;
}
.post_content a[href="#"] {
    padding-left: 15px;
}
.post_content a[href="#"].active {
	color: #832122;
}
.post_content a[href="#"]:before {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 7px 3.5px 0 3.5px;
	border-color: #1a1d24 transparent transparent transparent;
    position: absolute;
    top: 5px;
    left: 0;
}
.post_content a[href="#"].active:before {
	border-width: 0 3.5px 7px 3.5px;
	border-color: transparent transparent #832122 transparent;
}
.margintop {
	margin-top:20px;
}
.marginbottom {
	margin-bottom:20px;
}
li {
	padding: 5px 0;
}
img {
	max-width: 100%;
}
@media (min-width: 768px) {
	.alpha {
		padding-left:0;
	}
	.omega {
		padding-right:0;
	}
}
.clear {
	clear:both;
}
.relative {
	position:relative;
}
.uppercase {
	text-transform:uppercase;
}

/* COLORS */
.bg-white {
	background:#fff;
}
.bg-grey {
	background:#f5f5f5;
}
.color-main {
  color: #6e1c1a;
}
.header-grey {
  background: #f5f5f5;
  margin: 0;
  padding: 20px;
  font-weight: 300;
  font-size: 24px;
}
@media (min-width: 992px) {
	.header-grey {
		padding: 20px 60px;
	}
}

.color-red{
	color: #6e1c1a;
}

/* BTNS */
.btn-default {
	background:transparent;
	border:2px solid #665543;
	color:#665543;
	text-transform:uppercase;
	transition: 500ms ease-in-out;
	-moz-transition: 500ms ease-in-out;
	-webkit-transition: 500ms ease-in-out;
}
.btn-default:hover {
	background:#665543;
	color:#fff;
	border:2px solid #665543;
}
.btn-grey {
	background:#c7c7c7;
	color:#6e1c1a;
	text-transform:uppercase;
	transition: 500ms ease-in-out;
	-moz-transition: 500ms ease-in-out;
	-webkit-transition: 500ms ease-in-out;
}
.btn-grey:hover {
	background:#c7c7c7;
	color:#36373e;
}


.content {
  background: #ffffff;
  padding-top: 20px;
  padding-bottom: 20px;
  overflow: hidden;
}
@media screen and (min-width: 992px) {
  .content {
    padding: 20px 60px;
  }
}
.content-inner > img {
  width: 100%;
  margin-bottom: 20px;
}

/* HEADER */
#header {
	position: absolute;
	z-index: 99;	
	width: 100%;
	top: 20px;
}
.page-header {
	background:#665543;
	margin-top: 0;
	padding-top: 20px;
	padding-bottom: 20px;
	margin-bottom: 15px;
}
.page-header h1 {
	font-size:18px;
	color:#fff;
	text-transform:uppercase;
	margin:0;
}

/* COLLAPSED TEXT */
.collapsed-text .panel-default {
	border: none;
	box-shadow: none;
	margin-bottom: 10px;
    background: none;
}
.collapsed-text .panel-default>.panel-heading {
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
}
.collapsed-text .panel-title a {
	font-size: 14px;
    padding-left: 15px;
}
.collapsed-text .panel-title a span {
    color: #6e1c1a;
}
.collapsed-text .panel-default>.panel-heading+.panel-collapse>.panel-body {
	border: none;
	padding: 0;
}
.collapsed-text .panel-title a:before {
	content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 3.5px 7px 3.5px;
    border-color: transparent transparent #832122 transparent;
    position: absolute;
    top: 5px;
    left: 0;
}
.collapsed-text .panel-title a.collapsed:before {
	border-width: 7px 3.5px 0 3.5px;
	border-color: #1a1d24 transparent transparent transparent;
}

/* TOP NAV */
#navbar {
	background:#fff;
	z-index:1;
	top: 0;
	width: 100%;
	background-image:url(images/header.jpg);
	background-position:center bottom;
	background-attachment:fixed;
	transition: 200ms ease-in-out;
	-moz-transition: 200ms ease-in-out;
	-webkit-transition: 200ms ease-in-out;
}
#navbar.nav-up {
	top:-130px;
}
#navbar.affix.nav-down .logo-text,
#navbar.affix.nav-up .logo-text {
	display: none;
}
#navbar.affix {
    position: relative;
}
#navbar.nav-down {
	top: 0px;
}
#navbar.affix .navbar-toggle {
    opacity: 0;
}
#navbar.affix .navbar-collapse.collapse {
    opacity: 0;
}
@media (min-width: 768px) {
	#navbar {
		position: relative;
	}
	#navbar.nav-up,
	#navbar.nav-down {
		top: 0px;
	}
}
.navbar {
	margin-bottom:0;
	padding: 0 20px;
}
.navbar > .container {
	padding-top:10px;
}
.navbar-default {
	background: rgba(255,255,255,0.8);
	border: none;
}
.navbar-nav > li {
	padding: 10px 0 0 0;
}
.navbar-default .navbar-nav > li:hover {
	color: #00b3f0;
    background-color: transparent;
}
.navbar-default .navbar-nav > li > a {
	background:none;
	font-size:14px;
	color:#666;
	text-transform:uppercase;
	padding-left: 10px;
	padding-right: 10px;
}
.navbar-default .navbar-nav > li:last-child > a {
	border-right: none;
}
.navbar-default .navbar-nav > li:hover > a {
	color: #000;
    background-color: transparent;
}
.navbar-default .navbar-nav > .active,
.navbar-default .navbar-nav > .active,
.navbar-default .navbar-nav > .active {
    color: #000;
    background-color: transparent;
}
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
	background:none;
	color: #000;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
	border: none;
}
.logo-text {
	display: block;
	margin: 0 auto;
    width: 210px;
	clear: both;
}
@media (min-width: 400px) {
	.logo-text {
		width: auto;
		margin: 0 0 0 60px;
	}
}
.navbar-brand {
	padding: 0;
	display:block;
	height:auto;
    width: auto;
	max-width: 90%;
}
.navbar-brand.brand-bgcre {
    margin-left: 0px;
}
.navbar-brand > img {
	max-height: 110px;
	width: auto;
	margin: -10px auto -10px;
}
.navbar-top .navbar .navbar-nav > li > a {
  color: #1a1d24;
  background: transparent;
  transition: 200ms ease-in-out;
  -moz-transition: 200ms ease-in-out;
  -webkit-transition: 200ms ease-in-out;
}
.navbar-top .navbar .navbar-nav > li > a.menu-link {
	display: inline-block;
    width: 90%;
}
.navbar-top .navbar .navbar-nav > li > a.dropdown-toggle {
	display: inline-block;
    width: 10%;
    text-align: right;
    cursor: pointer;
}
.navbar-header {
	text-align: center;
}
@media screen and (min-width: 768px) {
	.logo-text {
		margin: 25px 0 0 0;
		position: absolute;
		left: 280px;
		bottom: 5px;
	}
	.navbar-header {
		text-align: left;
	}
	.navbar-brand {
		margin-left: -70px;
		width: auto;
		max-width: none;
	}
	.navbar-brand > img {
		width: 100%;
		margin: -15px 0 0 0;
	}
	.navbar-top .navbar .navbar-nav > li > a {
		border-bottom: 4px solid transparent;
		min-height: 80px;
		padding: 25px 15px;
	}
}
.navbar-top .navbar .navbar-nav > li > a:hover {
  color: #6e1c1a;
}
.navbar-top .navbar .navbar-nav > li > a.active {
  color: #6e1c1a;
}
.navbar-top .navbar .navbar-nav {
  margin-top: 0;
}
.navbar-top .navbar .navbar-nav li ul {
	background: #ffffff;
	padding:0;
}
.navbar-top .navbar .navbar-nav li ul li {
	padding:0;
}
.navbar-top .navbar .navbar-nav li ul li a {
	color: #303539;
	padding:10px 20px;
	white-space: pre-wrap;
}
.navbar .current-page-parent,
.navbar .current-menu-item,
.navbar-top .navbar .navbar-nav .dropdown-menu li.dropdown:hover,
.navbar-top .navbar .navbar-nav li ul li a:hover,
.main-menu .current_page_parent,
.sidebar-menu .current-menu-item a {
  color: #ffffff;
  background: #6e1c1a;
}
.navbar-small .current-page-parent,
.navbar-small .current-menu-item,
.navbar--small .navbar-nav .dropdown-menu li.dropdown:hover,
.navbar--small .navbar-nav li ul li a:hover {
	background: transparent;
}
.navbar .current-page-parent>a,
.navbar .current-menu-item>a,
.navbar .dropdown-menu li.dropdown:hover>a {
	color:#fff !important;
}
.navbar-top .navbar .navbar-nav li.social {
  max-height: 80px;
}
.navbar-toggle .icon-bar {
	background:#6e1c1a;
}
.navbar-collapse {
	box-shadow: none;
}
.navbar-toggle {
	margin-right: 0;
    padding: 0;
    position: absolute;
    right: 10px;
	bottom: 5px;
    z-index: 999;
}
.navbar-toggle .icon-bar {
	width: 30px;
    height: 4px;
}
@media screen and (min-width: 768px) {
	.navbar-top .navbar .navbar-nav > li:hover > a,
	.navbar-top .navbar .navbar-nav > li > a:hover,
	.navbar-top .navbar .navbar-nav > li.open > a,
	.navbar-top .navbar .navbar-nav > li > a.active {
		border-bottom: 4px solid #6e1c1a;
	}
	.navbar-top .navbar .navbar-nav > li:hover > .dropdown-menu {
		display:block;
	}
	.dropdown-menu .caret {
		border-top: 4px solid transparent;
		border-bottom: 4px solid transparent;
		border-right: 4px solid transparent;
		border-left: 4px solid;
		position:absolute;
		right:10px;
		top: 50%;
		margin-top: -4px;
	}
	.dropdown-menu>li>a {
		white-space:normal;
	}
	.dropdown-menu > li.dropdown:hover > .dropdown-menu {
		display:block;
		min-width: 210px;
	}
	.dropdown-menu .dropdown-menu {
		left:100%;
		right:0;
		top:-1px;
		margin:0;
	}
	.main-menu {
		background-color: #4e4f55;
		font-family: 'Lato', sans-serif;
		font-weight: 400;
		-webkit-border-bottom-right-radius: 5px;
		-webkit-border-bottom-left-radius: 5px;
		-moz-border-radius-bottomright: 5px;
		-moz-border-radius-bottomleft: 5px;
		border-bottom-right-radius: 5px;
		border-bottom-left-radius: 5px;
	}
	.main-menu .navbar-nav {
		font-size:14px;
		margin:0;
		padding:0;
		text-transform:uppercase;
		letter-spacing:0.7px;
	}
	.main-menu .navbar-nav li {
		padding:0;
	}
	.main-menu .navbar-nav>li>a {
		border-right: 2px solid #36373e;
		color:#fff;
	}
	.main-menu .navbar-nav>li:first-child>a{
		-webkit-border-bottom-left-radius: 5px;
		-moz-border-radius-bottomleft: 5px;
		border-bottom-left-radius: 5px;
	}
	.main-menu .navbar-nav>li:last-child>a {
		border-right:none;
	}
	.main-menu .nav .open>a,
	.main-menu .nav .open>a:hover,
	.main-menu .nav .open>a:focus,
	.main-menu .navbar-nav li:hover>a,
	.main-menu .navbar-nav li:focus>a,
	.main-menu .navbar-nav li>a:hover,
	.main-menu .navbar-nav li>a:focus,
	.main-menu .navbar-nav .current-menu-item a {
		background-color: #6e1c1a;
	}
	.main-menu .navbar-nav .dropdown-menu a {
		color:#4E4F55;
	}
	.main-menu .navbar-nav .dropdown-menu a:hover {
		color:#fff;
	}
}

/* SUBMENU */
.submenu-box .menu-top-menu-container {
	margin-bottom: 25px;
}
.submenu-box .menu-widget ul,
.submenu-box .sub-menu {
	padding: 0;
	list-style: none;
}
.submenu-box .menu-widget li,
.submenu-box .sub-menu li {
	display: block;
    list-style: none;
	padding: 0;
    border-bottom: 1px solid #4e4f55;
}
.submenu-box .menu-widget li a,
.submenu-box .sub-menu li a {
	color: #691a18;
    text-decoration: none;
    font-size: 13px;
    display: block;
    padding-top: 7px;
    padding-bottom: 6px;
    padding-left: 5px;
    font-weight: normal;
}
.submenu-box .sub-menu li a:hover,
.submenu-box .sub-menu li.current-menu-item a,
.submenu-box .menu-widget li a:hover,
.submenu-box .menu-widget li.current-menu-item a {
	background-color: #691a18;
    color: #ffffff;
}

/* MAIN SLIDER */
.slider {
	background:url(images/slider.jpg) repeat-x top left;
}
.slider>.container>.row>div {
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	background-color: #ffffff;
	margin-top: 25px !important;
	padding: 25px;
	text-align: left;
}
.nivo-caption {
	font-weight: normal;
	font-family: 'Lato', sans-serif !important;
	letter-spacing: 0.5px;
	color: #ffffff;
	font-size: 14px;
	max-width: 40%;
	width:auto !important;
	bottom:40px !important;
	display: none !important;
	text-transform: uppercase;
	background: rgba(0,0,0,0.8);
	padding: 20px !important;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}
#main-carousel {
	position: relative;
}
#main-carousel .caption {
	font-weight: normal;
	letter-spacing: 0.5px;
	color: #ffffff;
	font-size: 14px;
	max-width: 80%;
	width:auto;
	bottom:40px;
	position: absolute;
	text-transform: uppercase;
	background: rgba(0,0,0,0.8);
	padding: 20px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}
#main-carousel .carousel-indicators {
	margin: 0;
    right: 35px;
    left: auto;
    bottom: 35px;
    text-align: right;
	width: 50%;
}
#main-carousel .carousel-indicators li {
	background: #1e1f22;
    color: #fff;
    width: 20px;
    height: auto;
    border: none;
    text-indent: 0;
    border-radius: 0;
    padding: 2px;
    text-align: center;
    font-size: 14px;
    margin: 0 0 0 7px;
}
#main-carousel .carousel-indicators li.active {
	background: #6e1c1a;
}
#main-carousel .post-thumbnail {
	position: relative;
}
#main-carousel .see-more {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 999;
}
@media screen and (min-width: 768px) {
	#main-carousel .caption {
		max-width: 40%;
	}
  .nivo-caption {
    display: block !important;
  }
}
.nivo-caption h3 {
  color: #fff;
}
.nivo-caption p {
  color: #fff;
}
.nivo-controlNav {
	position:absolute;
	bottom:10px;
}

/* NEWS BOX */
#news-carousel .item a.blog-link {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}
#news-carousel .carousel-control {
	background-image: none;
	width:50px;
}
#news-carousel .left.carousel-control {
	left: -35px;
}
#news-carousel .right.carousel-control {
	right: -35px;
}

/* CONTENT */
.post-thumbnail,
.post-thumbnail-homepage {
	background-size: cover;
	background-attachment:scroll;
	position: relative;
	width:100%;
	background-position: center center;
}
.post-thumbnail {
	height: 300px;
}
.post-thumbnail-homepage {
	height: 200px;
}
@media (min-width: 768px) {
	.post-thumbnail {
		height: 400px;
	}
}

.ue-box {
	margin-top: 25px;
	margin-bottom: 25px;
	text-align: center;
	background: #f3f3f3;
    padding: 10px;
}
.ue-box.visible-xs-block {
	margin-top: 0;
}
.ue-box p {
    color: #6e1c1a;
	font-size: 11px;
}

/* team */
.team-thumbnail {
    border-radius: 50%;
    background-size: cover;
    border: solid 1px #ddd;
}
.team-item {
	border-bottom: 1px solid #eee;
	margin-bottom: 10px;
	padding-bottom: 10px;
	text-align: center;
}
.team-item:last-child {
	border-bottom: none;
	margin-bottom: 0px;
	padding-bottom: 0px;
}
.team-item h3 {
	font-size: 21px;
}
@media (max-width:767px) {
	.team-thumbnail {
		max-height: 300px;
	}
}
@media (min-width:768px) {
	.team-item {
		text-align: left;
	}
}

/* BLOG */
.blog #content,
.single #content,
.archive #content {
	margin-bottom:30px;
}
.page-header a {
	color:#fff;
	display:block;
}
.archive .post_content>img {
	margin-bottom:10px;
}
.post_content > h2 {
	margin-top: 0;
}
.blog .h2 {
	display:inline-block;
}
.blog a:hover {
	text-decoration:none;
}

.sidebar {
	background: #f3f3f3;
	padding-top: 15px;
	padding-bottom: 5px;
}
.submenu-box {
	background: #f3f3f3;
	padding-top: 15px;
	padding-bottom: 5px;
}
@media (min-width: 768px) {
	.sidebar,
	.submenu-box {
		background: none;
		padding-top: 0;
		padding-bottom: 0;
	}
}

/* WIDGETS */
.mainpage-sidebar .home-widget {
	background: #797d80;
	color: #ffffff;
	margin: 0;
	padding: 30px 180px 30px 60px;
	text-align: left;
}
.home-widget h4 {
	margin: 0 0 10px 0;
	color: #ffffff;
	font-weight: 300;
	font-size: 18px;
	padding-bottom: 10px;
}
.sidebar-menu {
	padding:0;
	list-style: none;
	margin-bottom: 20px;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	letter-spacing: 0.3px;
	font-size: 13px;
	text-align: left;
}
.sidebar-menu li {
	display: block;
	list-style: none;
	padding: 0;
}
.sidebar-menu>li {
	border-bottom: 1px solid #4e4f55;
}
.sidebar-menu .sub-menu li {
	border-bottom: 1px solid #dadada;
}
.sidebar-menu .sub-menu li:last-child {
	border-bottom: none;
}
.sidebar-menu li a {
	color: #691a18;
	text-decoration: none;
	font-size: 13px;
	display: block;
	padding: 7px 5px;
	font-weight: normal;
}
.sidebar-menu li a:hover{
	color:#ffffff;
    background-color: #691a18;
}
.sidebar-menu .sub-menu {
	padding:0;
	background:#f3f3f3;
	border-top: 1px solid #dadada;
}

@media screen and (min-width: 992px) {
  .mainpage-sidebar .home-widget {
    padding: 30px 180px 30px 60px;
	text-align:left;
  }
  .mainpage-sidebar .home-widget h4 {
    padding-bottom: 0;
	font-size: 24px;
  }
  .mainpage-sidebar .home-widget a {
    top: 25%;
    bottom: auto;
    left: auto;
    right: 20px;
	position: absolute;
  }
}

.mainpage-product-sidebar {
	padding-top:20px;
	padding-bottom:20px;
}
.home-widget {
	padding:10px;
}
.home-widget a {
	transition: 500ms ease-in-out;
	-moz-transition: 500ms ease-in-out;
	-webkit-transition: 500ms ease-in-out;
}
.home-widget a:hover {
	opacity:0.7;
	text-decoration:none;
}
.widgettitle .margintop {
	margin-top:20px;
}

/* top widget */
@media (min-width: 768px) {
	.top-widget .widget {
		display: inline-block;
		float: right;
		margin: 30px 0 0 10px;
	}
}
.top-widget .textwidget {
	padding-top:5px;
}
.top-widget .social {
	min-height: 80px;
	padding: 32px 15px;
	border-bottom: 4px solid transparent;
}
.top-widget .social:hover {
	border-bottom: 4px solid #6e1c1a;
}

.widget-footer a.social {
	color: #ffffff;
	padding:10px;
	display:block;
	height:40px;
	width:40px;
	text-align:center;
	transition: 500ms ease-in-out;
	-moz-transition: 500ms ease-in-out;
	-webkit-transition: 500ms ease-in-out;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.widget-footer a.social:hover {
	background: #6e1c1a;
	color: #ffffff;
}
.box {
  text-transform: uppercase;
  text-align: center;
  margin: 30px 0;
}
.box a {
  padding-top: 50px;
  padding-bottom: 50px;
  display: block;
  color: #6e1c1a;
  font-size: 21px;
  background: transparent;
  border: 4px solid #6e1c1a;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  transition: 500ms ease-in-out;
  -moz-transition: 500ms ease-in-out;
  -webkit-transition: 500ms ease-in-out;
  font-weight: 700;
  max-height:200px;
}
.box a .fa {
  display: block;
  padding: 10px 0;
  font-size: 48px;
}
.box a:hover {
  text-decoration: none;
  color: #fff;
  background: #6e1c1a;
}

/* NEWSLETER */
.btn-newsletter,
.btn-newsletter:focus {
	background-color: #c7c7c7;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: #6e1c1a;
    padding: 10px 20px;
    letter-spacing: 0.3px;
    border: none;
}
.btn-newsletter:hover {
	background-color: #c7c7c7;
    color: #36373e;
    border: none;
}
.box-newsletter {
	background-color: #c7c7c7;
    padding: 10px;
    position: relative;
    margin-top: -5px;
}
.box-newsletter input[type="submit"] {
	background-color: #791a11;
	color: #fff;
    padding: 6px 20px;
	text-transform: uppercase;
	border-radius: 0;
}
.box-newsletter input[type="submit"]:hover {
	background-color: #5e1b17;
	color: #fff;
}

/* SEARCH FORM */
.top-widget .widget_search{
  overflow: hidden;
  float: none;
  transition: 200ms ease-in-out;
  -moz-transition: 200ms ease-in-out;
  -webkit-transition: 200ms ease-in-out;
}
.mobile-box {
	display: none;
}
.mobile-box .widget_search {
	display: none;
}
.widget_search .form-control {
  border-radius: 0;
	margin-right: 10px;
	border: none;
	background: #fff;
	font-family: 'Lato', sans-serif;
  font-size: 12px;
  height: 30px;
  float: left;
  color: #1a1d24;  
}
.widget_search button[type=submit] {
	border-radius: 5px !important;
	-moz-border-radius: 5px !important;
	-webkit-border-radius: 5px !important;
	margin-right: 10px;
	border: none;
	padding:0 20px;
	background: #000;
    color: #ffffff;
	height: 30px;
	transition: 500ms ease-in-out;
}
@media (min-width: 768px) {
	.widget_search .form-control {
		max-width: 100px;
		width: auto;
	}
}
@media (min-width: 768px) and (max-width: 992px) {
	.screen-box .widget_search {
		display: none;
	}
}
@media (min-width: 992px) {
	.top-widget  .widget_search{
		float: right;
	}
}

/* PEOPLE */
.people-item {
	padding: 0;
	margin: 0 0 10px;
}
.people-item .desc {
	background: #6e1c1a;
    padding: 5px 10px;
    text-align: center;
    border-radius: 5px;
}
.people-item .desc h3 {
    margin: 0;
    color: #fff;
    text-transform: none;
    font-weight: 600;
    font-size: 14px;
}
.people-item .desc p {
    margin: 0;
    color: #dadada;
}
.people-item > p {
    color: #6e1c1a;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    padding: 0 20px;
}
@media (min-width: 768px) {
	.people-item {
		padding: 0;
		margin: 0 0 10px -10px;
	}
	#main article .people-item img {
		height: 270px;
	}
}
@media (min-width: 992px) {
	#main article .people-item img {
		height: 180px;
	}
}

/* CONTACT */
input, textarea, select {
	width: 100%;
	border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	padding: 5px;
	border: none;
	box-shadow: none;
	background: #fff;
    border: 1px solid #eee;
}
input[type="radio"], input[type="checkbox"] {
	width: auto;
}
.modal input[type="email"] {
	border: 1px solid #000;
}
.bordered-input input {
	border: 1px solid #333;
}
input[type="submit"] {
	background:#c7c7c7;
	color:#6e1c1a;
	display:inline-block;
	width: auto;
	padding: 10px 20px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	text-transform:uppercase;
	transition: 500ms ease-in-out;
	-moz-transition: 500ms ease-in-out;
	-webkit-transition: 500ms ease-in-out;
}
input[type="submit"]:hover {
	background:#c7c7c7;
	color:#36373e;
}
.small-submit input[type="submit"] {
	color: #ffffff;
    background-color: #6e1c1a;
	padding: 4px 20px;
}
.small-submit input[type="submit"]:hover {
    background-color: #1e1f22;
}
.navbar-small .small-sidebar .widget_search {
	display: none;
}
.navbar-small .small-sidebar .widget_polylang {
	margin: 9px 0;
	text-align: left;
}
.navbar-small .small-sidebar .widget_polylang ul {
	padding: 0;
}
.navbar-small .small-sidebar .widget_polylang a {
	color: #fff;
}
@media (min-width: 768px) {
	input, textarea, select {
		border: none;
	}
}

/* contact widget */
.contact-widget ul {
	padding:0;
}
.contact-widget li {
	list-style:none;
	padding:0;
}
.contact-widget li a,
.recomended-sites a {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size:12px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: #691a18;
	text-decoration: none;
}
.contact-widget li a:hover,
.recomended-sites a:hover {
	color: #1e1f22;
    text-decoration: none;
}

/* SIDEBAR2 */
#sidebar2 {
	overflow: hidden;
}

/* FOOTER */
footer.main-footer {
	bottom:0;
	width:100%;
	font-size: 12px;
}
#inner-footer {
	color: #ffffff;
	padding: 20px;
}
#inner-footer a {
	color:#fff;
}
#inner-footer h4 {
	font-size:14px;
	font-weight:700;
	text-transform:uppercase;
	margin-bottom:10px;
}
#inner-footer p {
	margin:0;
	font-size:11px;
}

.bottom-menu {
	background: #1e1f22;
	padding-top: 10px;
	padding-bottom: 10px;
}
.footer-links {
	float:none;
	text-align:right;
	margin:0;
}
.footer-links ul {
	padding: 0 !important;
}
.footer-links .menu li {
	padding-right: 0;
	padding-left:0;
	margin:0;
}
.footer-links .menu li a {
	padding-right:10px;
	margin-right:10px;
	border-right: 1px solid #909090;
}
.footer-links .menu li a:hover {
	color:#909090;
	text-decoration:none;
}
.footer-links .menu li:last-child a {
	border-right: none;
}
.footer-sites {
	margin-top: 10px;
}
.footer-sites a:hover {
	text-decoration:none;
}
.footer-sites img {
	border-radius: 5px;
	margin-right: 10px;
	margin-bottom: 5px;
	height: 50px;
}
.footer-sites a:last-child img {
	margin-right: 0px;
}
@media (min-width: 1200px) {
	.footer-links .menu {
		height: 50px;
		display: table-cell;
		vertical-align: middle;
	}
	.footer-sites img {
		margin-bottom: 0;
	}
}

.copyrights {
	padding-top: 5px;
	background: #6e1c1a;
}
@media (max-width:767px) {
	.bottom-menu {
		-webkit-border-top-left-radius: 5px;
		-webkit-border-top-right-radius: 5px;
		-moz-border-radius-topleft: 5px;
		-moz-border-radius-topright: 5px;
		border-top-left-radius: 5px;
		border-top-right-radius: 5px;
	}
	.copyrights {
		height: auto !important;
		padding-bottom: 5px;
		-webkit-border-bottom-right-radius: 5px;
		-webkit-border-bottom-left-radius: 5px;
		-moz-border-radius-bottomright: 5px;
		-moz-border-radius-bottomleft: 5px;
		border-bottom-right-radius: 5px;
		border-bottom-left-radius: 5px;
	}
}
@media (min-width:768px) {
	.footer-links {
		float: left;
	}
	.footer-sites {
		float: right;
	}
	.footer-links .menu li a {
		padding-right:15px;
	}
	.bottom-menu {
		-webkit-border-top-left-radius: 5px;
		-webkit-border-bottom-left-radius: 5px;
		-moz-border-radius-topleft: 5px;
		-moz-border-radius-bottomleft: 5px;
		border-top-left-radius: 5px;
		border-bottom-left-radius: 5px;
	}
	.copyrights {
		-webkit-border-top-right-radius: 5px;
		-webkit-border-bottom-right-radius: 5px;
		-moz-border-radius-topright: 5px;
		-moz-border-radius-bottomright: 5px;
		border-top-right-radius: 5px;
		border-bottom-right-radius: 5px;
	}
}
@media (min-width: 992px) {
	#widget-footer .widget img {
		margin-bottom:0;
	}
	.footer-links ul {
		padding: 25px;
	}
}
@media (min-width:1200px) {
	.footer-sites {
		margin-top: 0;
	}
}
#menu-footer-menu li {
	padding: 0 ;
}

/* navbar small*/
.navbar-small {
    position: fixed;
	display: none;
    width: 100%;
    background: #6e1c1a;
    z-index: 999;
	top: -50px;
	opacity: 0;
	max-height: 100%;
    overflow-y: scroll;
	-webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
}
.navbar-small.nav-up,
.navbar-small.affix.nav-down {
	top: 0px;
	opacity: 1;
	display: block;
}
.navbar-small .navbar-top .navbar .navbar-nav > li > a {
    border-bottom: 4px solid transparent;
	width: auto;
    text-align: left;
}
.navbar-small .navbar-brand {
	float: none;
}
.navbar-small .navbar-toggle .icon-bar {
	background: #fff;
}
.navbar-small .navbar-top .navbar .navbar-nav > li > a {
	color: #fff;
}
.navbar-small .navbar-top .navbar .navbar-nav > li:hover > a, .navbar-small .navbar-top .navbar .navbar-nav > li > a:hover, .navbar-small .navbar-top .navbar .navbar-nav > li.open > a, .navbar-small .navbar-top .navbar .navbar-nav > li > a.active {
	border-bottom: 4px solid #fff;
}
.navbar-small .navbar-brand > img {
	max-height: 45px;
	margin-top: 2px;
	width: auto;
}
@media (min-width: 450px) and (max-width: 767px) {
	.navbar-small.nav-up, .navbar-small.affix.nav-down {
		display: none;
	}
}
@media (min-width: 768px) {
	.navbar-small,
	.navbar-small.nav-up,
	.navbar-small.affix.nav-down {
		display: none;
	}	
	.navbar-small .navbar-header {
		float: none;
	}
	.navbar-small .navbar-brand {
		float: left;
	}
	.navbar-small .navbar-nav > li {
		padding: 0;
	}
	.navbar-small .navbar-top .navbar .navbar-nav > li > a {
		min-height: 0;
		padding: 5px 15px;
	}
}
@media (max-width: 767px) {
	.navbar-small .navbar-collapse {
		clear: both;
	}
	.navbar-small .navbar-top .navbar .navbar-nav > li > a.menu-link {
		display: inline-block;
		cursor: pointer;
		padding-left: 10px;
	}
	.navbar-small .navbar-top .navbar .navbar-nav > li > a.dropdown-toggle {
		display: inline-block;
		width: 10%;
		text-align: right;
		cursor: pointer;
	}
}
@media (min-width: 290px) and (max-width: 767px) {
	.navbar-top .navbar .navbar-nav > li > a.menu-link {
		width: 87%;
	}
}
@media (max-width: 289px) {
	.navbar-top .navbar .navbar-nav > li > a.menu-link {
		width: auto;
	}
	.navbar-small .navbar-brand > img {
	    max-height: 25px;
		clear: both;
		margin: 0 0 10px 0;
	}
}

/* SOCIAL */
.social img {
	opacity:1;
}
.social:hover img {
	opacity:0.5;
}

/* POLYLANG */
.widget_polylang {
	margin-bottom: 30px;
}
.mobile-box .widget_polylang {
	position: absolute;
    top: 5px;
    right: 10px;
}
#navbar.affix .mobile-box .widget_polylang {
	display: none;
}
@media (min-width: 768px) {
	.widget_polylang {
		margin-bottom: 0px;
	}
	.screen-box .widget_polylang {
		display: block;
	}
	.mobile-box .widget_polylang {
		display: none;
	}
}
.widget_polylang ul {
	list-style:none;
	margin: 0;
}
.widget_polylang li {
	display:inline-block;
}
.widget_polylang li a {
	padding-right: 5px;
	margin-right: 5px;
	border-right: 1px solid;
	font-size: 12px;
}
.widget_polylang li:last-child a {
	border-right:none;
	margin-right:0;
	padding-right:0;
}
header .widget {
	display: inline-block;
	margin-left:10px;
	margin-bottom: 0;
}
header #polylang-2 {
	display:block;
}

/* TOP menu */
.fields-thumbnail {
	height: 140px;
	position: relative;
	background-size: cover;
	background-position: center center;
	border-radius: 5px;
	overflow: hidden;
}
.fields-thumbnail .caption {
	letter-spacing: 0.5px;
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    background: rgba(0,0,0,0.8);
    text-align: center;
    padding: 10px;
    position: absolute;
    width: 100%;
    bottom: 0;
}
.fields-thumbnail a {
    width: 100%;
	height: 100%;
    top: 0;
	left:0;
	z-index: 99;
	position: absolute;
}
.page-top-content>div {
    margin-bottom: 10px;
}
.page-top-content>div:last-child .fields-thumbnail a {
    margin-bottom: 0px;
}
@media (min-width: 768px) {
	.page-top-content>div {
		margin-bottom: 0px;
	}
}
/* page top widget */
.page-top {
	background: url(images/page-top.jpg) repeat-x top left;
}
.page-top .page-top-content {
	background-color: #ffffff;
	margin-top: 25px !important;
	padding: 25px;
	text-align: left;
	overflow: hidden;
}
.page-top .widget,
.page-top .textwidget {
	margin-bottom:10px;
	min-height: 105px;
}
.page-top .widget a {
	display:block;
	color:#fff;
}
.page-top .rotator_tytul_sites{
	position: relative;
	z-index: 1000;
	font-family: 'Lato', sans-serif;
	letter-spacing: 0.5px;
	font-weight: 400;
	color: #ffffff;
	font-size: 13px;
	text-transform: uppercase;
	background:rgba(0,0,0,0.8);
	padding:5px 10px;
	height: 45px;
	margin-top: -44px;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}
@media (min-width:1200px) {
	.page-top .widget,
	.page-top .textwidget {
		min-height: 134px;
	}
	.page-top .rotator_tytul_sites {
		height: 40px;
		margin-top: -39px;
		padding:10px;
	}
}
@media (min-width:768px) {
	.page-top .widget,
	.page-top .textwidget {
		margin-bottom:0;
	}
}
@media (min-width:768px) and (max-width:991px) {
	.page-top .widget,
	.page-top .textwidget {
		min-height: 80px;
	}
@media (min-width:992px) and (max-width:1199px) {
	.page-top .rotator_tytul_sites {
		height: 45px;
		margin-top: -44px;
		padding:5px 10px;
	}
}

/* MAIN SITE */
.news-box {
	padding-top:30px;
	padding-bottom:40px;
}
.news-box .post-thumbnail {
	height:200px;
}
.news-box .marginbottom {
	margin-bottom:40px;
}
.thumb-wrapper {
	max-height:200px; 
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	overflow:hidden;
}

/* BLOG */
.blog-box ul {
	height: auto !important;
}
.blog-box li {
	position: relative !important;
}

/* REFERENCJE */
.bne-testimonial-slider-wrapper {
	border:none;
	box-shadow: none;
}
.bne-testimonial-slider .bne-testimonial-details {
	font-size:21px;
	color:#665543;
	font-weight: 700;
	font-style: normal;
}

/* PORTFOLIO */
.otw-sc-portfolio .otw-portfolio-item-link > div.title {
	background:rgba(0,0,0,0.8) !important;
}
.otw-sc-portfolio .otw-portfolio-item-link > div.text {
	background:rgba(37,64,131,0.8) !important;
}
.otw-sc-portfolio .otw-portfolio-item-link img {
	width: 100%;
	-webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
}
.otw-sc-portfolio .otw-portfolio-item-link:hover img {
	opacity:0.7;
}
.otw-sc-portfolio .otw-portfolio-filter {
	padding: 0;
}
.otw-sc-portfolio .otw-portfolio-filter li a:hover,
.otw-sc-portfolio .otw-portfolio-filter li a:active,
.otw-sc-portfolio .otw-portfolio-filter li.current a {
	color: #665543;
}
.otw-portfolio .nav-single {
	border-top: 1px solid #666;
	padding-top: 5px;
}
.otw-portfolio .nav-next {
	float:right;
}
.otw-single-portfolio-item .portfolio-gallery-wrapper .flexslider {
	margin-top:0 !important;
}
.otw-portfolio a h3 {
	color:#665543;
	font-size:24px;
	text-align:center;
}
.otw-portfolio a:hover {
	text-decoration:none;
}
.otw-portfolio .image {
	width: 100%;
	border:1px solid #665543;
	-webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
}
.otw-portfolio a:hover .image {
	opacity:0.7;
}
.category-description {
	margin-bottom:50px;
}

/* GO TOP */
#go-top {
  transition: 500ms ease-in-out;
  -moz-transition: 500ms ease-in-out;
  -webkit-transition: 500ms ease-in-out;
  text-align: center;
  width: 45px;
  height: 45px;
  background-color: #303539;
  font-size: 24px;
  padding-top: 7px;
  opacity: 0.6;
  color: #ffffff;
  cursor: pointer;
  position: fixed;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
#go-top:hover {
  background-color: #6e1c1a;
  opacity: 1;
  color: #ffffff;
}
#go-top.affix-top {
  right: -80px;
  bottom: 20px;
  text-align: center;
}
#go-top.affix {
  bottom: 20px;
  right: 20px;
}