.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

body {
	background: url(../img/boxed-bg.jpg) fixed no-repeat;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}

h1 {
	font-size: 36px;
	font-weight: normal;
}

h2 {
	font-size: 28px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 22px;
}

h5 {
	font-size: 13px;
}

h6 {
	font-size: 14px;
	font-weight: bold;
}

p {
	color: #3f3f3f;
}

a {
	color: #1193d4;
}

a:hover,
a:focus {
	color: #3f3f3f;
}

header .ownmenu {
	line-height: 50px;
}

.rights a{
	color:#999999;
	margin-left:0;
	color: #1193d4;
}

#wrap.boxed-layout .sticky-wrapper .sticky {
	max-width: 1280px;
	width: auto;
	margin: 0 auto;
	left: 0px;
	right: 0px;
	line-height: 50px;
	z-index: 100000;
}

.story article {
    padding: 20px 20px;
    padding-right: 70px;
}

.portfolio .cbp-item {
	margin: 0px;
	padding: 10px;
	
}

.cbp-item img {
	border: 1px solid rgb(17,147,212)
	
}

/* GALERIE */
.gallery a {
	margin-bottom: 10px;
}


/* SLIDER INFO */

.master-slider-parent {
    overflow: hidden !important;
}

.ms-info {
    padding: 0 0 70px 70px;
}

.ms-info h3 {
	position: relative;
	top: -300px;
    color: #fff;
    font-weight: 600;
    font-size: 60px;
    text-align: center;
    letter-spacing: 5px;
}

.ms-info h5 {
	position: relative;
	top: -300px;
    color: #fff;
    font-size: 18px;
    letter-spacing: 9px;
    text-align: center;
}

/* prodejny */
.services .col-md-3 article a {
    padding: 0px;
}
.services article h5 {
	height: 20px;
}

/*.aktuality-obrazek img {
	min-width: 100%;
	z-index: -1 !important;
}
*/
.aktualita {
	border-bottom: 1px solid #e6e6e6;
    margin-bottom: 40px;
	padding-bottom: 10px;
}

.entry-footer {
	display: none;
}

.entry-title {
	font-size: 18px;
}

/* Navigace */

.breadcrumbs {
	position: relative;
	top: 120px;
	text-align: center;
}

/* Napsali o nás */

.napsali-btn.btn i {
	background: #ccc;
}

/* kontaktní formulář */

.contact-form textarea {
    border: 1px solid #ccc;
}

.contact-form textarea {
    height: 150px;
}

.entry-header {
	z-index: 1;
}

/* Galerie - title */

.portfolio .bottom-detail {
    position: absolute;
    bottom: -100%;
    left: 30px;
    width: 38%;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}

.portfolio .over-detail {
    background: rgba(17,147,212,0.5);
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    opacity: 0;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}

.vypis img {
	width: 250px;
}


@media (min-width: 992px) and (max-width: 1200px) {

	header .navbar li a {
    	font-size: 11px;
   	}

   	header .ownmenu {
    	padding-right: 0px;
	}
}


}

@media (min-width: 768px) and (max-width: 991px) {

	/* top bar */
	.right-sec {
		width: 20%;
		margin-top: 0;
		float: right;
	}

	/* menu */

	.hlavicka .col-xs-10 {
		padding-left: 60px;
		padding-right: 0px;
	}

	header .ownmenu {
		line-height: 35px;
	}

	header .navbar li a {
    	font-size: 11px;
   	}

   	/* slider */

	.ms-info h3 {
	top: -210px;
    font-weight: 600;
    font-size: 30px;
    text-align: center;
    letter-spacing: 5px;
	}

	.ms-info h5 {
	top: -210px;
    font-size: 16px;
    letter-spacing: 6px;
    text-align: center;
	}

	.home-slide {
	    height: 335px;
	}
}

@media (min-width: 768px) {

}

@media (min-width: 480px) and (max-width: 767px) {

	/* top bar */
	.right-sec {
		width: 20%;
		margin-top: 0;
		float: right;
	}

	/* logo */
	header .logo {
	    width: 200%;
	}

	/* menu */
	.ownmenu > li.showhide {
    	margin-top: -65px;
	}

	header .ownmenu {
		line-height: 20px;
	}

	/* slider */
	.ms-info h3 {
		top: -180px;
	    font-weight: 600;
	    font-size: 30px;
	    text-align: center;
	    letter-spacing: 5px;
	}

	.ms-info h5 {
		top: -180px;
	    font-size: 12px;
	    letter-spacing: 2px;
    	text-align: center;
	}

	.ms-info a {
	    position: absolute;
		top: -130px;
		margin-right: auto;
		margin-left: auto;
		right: 0;
		left: 0;
		max-width: 5%;
		font-size: 10px;
	}

	.home-slide {
	    height: 270px;
	}

	/* zajímavé odkazy */
	.odkazy a {
		display: block !important;
		margin: 0 auto;
	}

	img {
		margin: 0 auto;
	}

	.img-responsive {
    	display: block !important;
	}

	.odkazy h6 {
		text-align: center;
	}

	/* kontakty */
	.kontakty {
		text-align: center;
	}

	/* copyright */
	.rights,
	.text-right {
		text-align: center;
	}

}

@media (max-width: 479px) {

	/*top bar*/

	.top-info .personal-info li {
    display: block;
    border-right: none;
    padding: 1px 20px;
    float: none;
    text-align: center;
	}

	.top-info .personal-info {
    color: #999999;
    float: none;
	}

	.right-sec {
		width: 50%;
		margin-top: 0;
		float: none;
		margin: 0 auto;
		text-align: center;
	}

	.top-info .social {
    float: none;
	}

	.top-info .social li {
    float: none;
	}

	.top-info .personal-info li:nth-child(1) {
    padding-left: 20px;
	}

	.top-info .personal-info li:nth-last-child(1) {
    padding-right: 20px;
	}

	/* logo */
	header .logo {
	    width: 300%;
	}

	header .ownmenu {
		line-height: 20px;
	}

	/* slider */
	.ms-info h3 {
		top: -120px;
	    font-weight: 600;
	    font-size: 18px;
	    text-align: center;
	    letter-spacing: 5px;
	}

	.ms-info h5 {
		top: -120px;
	    font-size: 8px;
	    letter-spacing: 0px;
    	text-align: center;
	}

	.ms-info {
    padding: 0 0 0px 0px;
	}

	.home-slide {
	    height: 120px;
	}

	/* zajímavé odkazy */
	.odkazy a {
		display: block !important;
		margin: 0 auto;
	}

	img {
		margin: 0 auto;
	}

	.img-responsive {
    	display: block !important;
	}

	.odkazy h6 {
		text-align: center;
	}

	.kontakty {
		text-align: center;
	}

	/* copyright */
	.rights,
	.text-right {
		text-align: center;
	}

}

/* change menu breakpoint */

@media (max-width: 900px) {

	.nav-justified>li {
		display: block;
		width: 100%;
	}
	.navbar-header {
		float: none;
	}
	.navbar-left,.navbar-right {
		float: none !important;
	}
	.navbar-toggle {
		display: block;
	}
	.navbar-collapse {
		border-top: 1px solid transparent;
		box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
	}
	.navbar-fixed-top {
		top: 0;
		border-width: 0 0 1px;
	}
	.navbar-collapse.collapse {
		display: none!important;
	}
	.navbar-nav {
		float: none!important;
		margin-top: 7.5px;
	}
	.navbar-nav>li {
		float: none;
	}
	.nav-justified>li>a {
		margin-bottom: 0px;	
		background: rgba(76,52,26,.7);
	}
	.nav-justified>li>a:hover,
	.nav-justified>li>a:focus,
	.nav-justified>li.active>a {
		background: #1DB04B;
	}	
	.navbar-nav>li>a {
	padding-top: 10px 0;
	}
	.collapse.in{
		display:block !important;
	}
	.navbar-nav .open .dropdown-menu {
		position: static;
		float: none;
		width: auto;
		margin-top: 0;
		background-color: transparent;
		border: 0;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
}

.blog .heading {
	margin-top: 60px;
}

