/* Adapted by PHONGJIM  06.11.2014*/
/* GLOBAL STYLES
========================================================= */



@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');


body {
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	line-height: 1.8em;
	overflow-y: auto;
	color: #7e7e7e;
}

h1,h2,h3,h4,h5,h6,nav a{
	font-family: 'Roboto', sans-serif;
}

b, strong {font-weight: 700;}
h2 {
	font-size: 26px;
}

h3 {
	font-size: 22px;
	margin-bottom: .9em;

}


h4 {
	font-size: 18px;
}
.page-header h2 {
	color: #f90;
}

p{
	line-height: 1.6em;
}

a {
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-ms-transition: all .5s ease-in-out;
	-o-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

.trans,
#masonry-container .picture,
.article-img img {
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.clear{
	clear: both;
}
section {
	margin-bottom: 30px;
}

.section-header{
	margin-top: 30px;
	margin-bottom: 30px;
}
.section-header p{
	font-size:1.2em;
	line-height: 1.9em;
	width: 70%;
	margin: 0 auto;
}
.section-header h2{text-transform: uppercase;}


.result-text {margin-bottom: 2em;}
.searchintro,
.btn-toolbar {margin-bottom: 1em;}

.search-blog-item .result-title {text-align: center;}

.search-results ul {
  margin-top: 2em;


}

.list-striped {
  display: flex;
  justify-content: flex-start;
  flex-flow: row;
	flex-wrap: wrap;
	padding-left: 0;

}

.search-blog-item {
  flex: 1 0 33.3333%;
  max-width: 50%;
	list-style: none;
	display: flex;
	flex-flow: column;
	align-items: center;
	margin-bottom: 4rem;
}

.search-blog-item .intro-image img {
  max-height: 38rem !important;
}

.search-blog-item:hover .intro-image img {opacity: 0.7; }
.search-blog-item:hover .result-title {text-decoration: underline;}

.form-limit {float: right;}

#search-form a.btn {display: none;}

.search-block .module {margin-left: 1em!important;}

.search-block {
  display: flex !important;
  align-items: center;
}

#finder-search a .btn {
  display: none !important;
}

.view-search .search, .view-search #search-form {display: none!important;}



.inputboxsearch {height: auto!important; padding: .7em 1em!important; font-size: 1.3em!important;}


/* ============ link color ============ */
a {
	color: #f29a0d;
	text-decoration: none;
}
a:hover,
a:active {
	color: #c87c02;
	text-decoration: none;
}



.dropdown-menu > li > a {
    clear: both;
    color: #333;
    display: block;
    font-weight: 400;
    line-height: 1.6;
    padding: 6px 18px;
    white-space: nowrap;
}


.footer-1 {
	padding-bottom: 10px;
}




.bottom .landing {margin-top: 40px;}
.bottom .landing h4.carousel-text,
.bottom  .landing .carousel-readmore,
.bottom .landing h4.carousel-text a {
  font-size: 1.2em;
  color: #486EA4;
  font-weight: bold;
		text-align: left!important;
}

.bottom .landing .carousel-text {
  line-height: 1.4 !important;
	text-align: left!important;
}

.bottom .landing .carousel-text strong,
.bottom .landing .carousel-text b {
  font-weight: 400 !important;
}

.bottom .landing .box-color {
  background: #fff;
  padding: 15px 5px;
  border-radius: 5px;
}

.bottom .landing .arrows, .top .landing .carousel-indicators {display: none;}

/* Animation Delay helper classes*/
.ani-delay1 {
	-webkit-animation-delay: 0.1s;
	-moz-animation-delay: 0.1s;
	-o-animation-delay: 0.1s;
	animation-delay: 0.1s;
}
.ani-delay2 {
	-webkit-animation-delay: .2s;
	-moz-animation-delay: .2s;
	-o-animation-delay: .2s;
	animation-delay: .2s;
}
.ani-delay3 {
	-webkit-animation-delay: .3s;
	-moz-animation-delay: .3s;
	-o-animation-delay: .3s;
	animation-delay: .3s;
}
.ani-delay4 {
	-webkit-animation-delay: .4s;
	-moz-animation-delay: .4s;
	-o-animation-delay: .4s;
	animation-delay: .4s;
}
.ani-delay5 {
	-webkit-animation-delay: .5s;
	-moz-animation-delay: .5s;
	-o-animation-delay: .5s;
	animation-delay: .5s;
}
.ani-delay6 {
	-webkit-animation-delay: .6s;
	-moz-animation-delay: .6s;
	-o-animation-delay: .6s;
	animation-delay: .6s;
}
.ani-delay7 {
	-webkit-animation-delay: .7s;
	-moz-animation-delay: .7s;
	-o-animation-delay: .7s;
	animation-delay: .7s;
}
.ani-delay8 {
	-webkit-animation-delay: .8s;
	-moz-animation-delay: .8s;
	-o-animation-delay: .8s;
	animation-delay: .8s;
}
.ani-delay9 {
	-webkit-animation-delay: 0.9s;
	-moz-animation-delay:  0.9s;
	-o-animation-delay:  0.9s;
	animation-delay:  0.9s;
}
.ani-delay10 {
	-webkit-animation-delay: 1s;
	-moz-animation-delay: 1s;
	-o-animation-delay: 1s;
	animation-delay: 1s;
}

/* Header
========================================================= */
.main-header{
	background: #eeeeee /* url('../images/header-bg.jpg') */ repeat-x center bottom;
	border-top: 4px solid #f29a0d;
	padding-bottom: 10px;
}
.secondary-nav{
	background: #e9e9e9;
	border-bottom: 1px solid #dedede;
}
.secondary-nav .container {
	padding: 0px;
}

.secondary-nav .nav > li > a{
	padding: 3px 15px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #838383;
}
.secondary-nav .nav > li > a:hover {
	background-color: #DBDBDB;
}

.logo {
	height: 110px;
}

.logo h1 {
	color:#f3a01c;
	font-weight: bold;
	margin: 5px 0 5px 0;

}

.logo h1 img {
	width: 390px;
	height: auto;
}

.juraLogo {
	width: 130px;
	height: auto;
	margin-top: 10px;
}
.search-bar{
	width: 220px;
	margin: 25px 0 0px 0;
}



.serach-block .form-inline{
	display: inline-block;
}
.search-bar .form-control {
	padding: 5px 12px;
	border-radius: 10px 0 0 10px;
	box-shadow: inset 1px 2px 5px rgba(138, 134, 134, 0.6);
	height: 30px;
}
.search-bar  .btn{
	background: #FFF;
	color:#666;
	border-radius: 0 10px  10px 0;
	box-shadow: inset -1px 2px 5px rgba(138, 134, 134, 0.6);
	padding: 4px 12px 4px;

}
.social-link{
	display: inline-block;
	top: -11px;
	position: relative;
	margin-right: 10px;
	margin-bottom: 0;
	margin-top: 10px;
}
.social-link li a{
	width:32px;
	height: 32px;
	display: block;
	color:#FFF;
	font-size: 1.2em;
	text-align: center;
	background: #f29a0d;
	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
	border-radius: 16px;
	line-height:2em;
}

/* CUSTOMIZE THE NAVBAR
========================================================= */
/* Customize the nav-justified links to be fill the entire space of the .navbar */

.nav-justified {
  background-color: #eee;
  border-radius: 5px;
  border:0;
}
.nav-justified > li > a {
  margin-bottom: 0;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-top: 18px;
  padding-bottom: 18px;

  color:#CACACA;
  text-align: center;
  border-bottom:0;
  background: #3f3f3f;
  font-size: 1.1em;
  font-size: 1.2em;
  text-shadow: 1px 1px 1px #666;
}

.nav-justified > li > a:hover,
.nav-justified > li > a:focus {
  background-color: #f29a0d;
  background-image: none;
  color: #FFF;
  box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
}
.nav-justified > .active > a,
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus,
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  background-color: #f29a0d;
  background-image: none;
  border:0;
  color: #FFF;
  box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
}
.nav-justified > li:first-child > a {
  border-radius: 5px 5px 0 0;
}
.nav-justified > li:last-child > a {
  border-radius: 0 0 5px 5px;
}
.navbar-nav > li{
	float: none;
}

.navbar-toggle .icon-bar {
	background-color: #FFF;
}
.navbar-toggle {
	background-color: #B6B6B6;
	border: 1px solid #9E9E9E;
}


/* PHONGJIM OVERWRITES
 ====================================================================== */
.thumbnail {border: 0px;}
.btqc-title h3 {color: #f90; font-size: 30px; margin-bottom: 20px;}
h4.carousel-text {font-size: 17px; margin-top: 5px; margin-bottom: 8px;}
.carousel-inner .thumbnail {padding: 0px; margin-bottom: 5px;}

/* BLOG Layout
 ====================================================================== */
.item {padding-bottom: 30px;}
.item .item-image {margin-bottom: 5px;   min-height: 380px; }
.item > a {background: #f90; display: block; }
.item > .page-header {margin-top: 0px;}
.item > .page-header > h2{margin-top: 0px;}
.item .pull-left {/*float: none!important;*/max-width: 100%;}
.portfolio-item > h3 {font-size: 20px;}
.item .page-header h2 a {font-size: 20px;}
.item > h3 {font-size: 20px;}
.item > .page-header {padding-bottom: 0;}
.item-page > .page-header {margin-top: 20px;}
.item-page .item-image {margin-right: 50px;	margin-bottom: 50px;}
.readmore > .btn {padding: 0;}

.item-page ul,
.jura-service .item-page ul {
	padding-left: 0;
	margin-top: 25px;
	margin-bottom: 30px;
}
 .item-page li,
.jura-service .item-page li  {
	display: block;
	font-size: 15px;
	padding: 9px 0;
	margin-bottom: 2px;
	list-style: none;
	width: 100%;
	background: url('../images/checkboxmark.png') right center no-repeat;
	border-bottom: 1px solid #f4f3f3;
}

.pager {background-image: none; border-bottom: 0; display: none;}

/* Overright Default Media Queries
 ====================================================================== */
@media (min-width: 768px) {
  .nav-justified {
    max-height: 52px;
  }
  .nav-justified > li > a {
    border-left: 1px solid #555555;
    border-right: 1px solid #232323;
  }
  .nav-justified > li:first-child > a {
    border-left: 0;
    border-radius: 5px 0 0 5px;
  }
  .nav-justified > li:last-child > a {
    border-radius: 0 5px 5px 0;
    border-right: 0;
  }
}


 /* Masonry Gallery
 ====================================================================== */
 #masonry-container{
 	margin-top: 10px;
 }

#masonry-container .picture {
	position: relative;
	background: #fff;
	padding:5px;
	border: 1px solid #EEEEEE;
    -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.25);
    -moz-box-shadow: 0px 1px 1px rgba(0,0,0,.25);
    box-shadow: 0px 1px 1px rgba(0,0,0,.25);
    margin-top: 20px;
 }

 #masonry-container .picture:hover {
    -webkit-box-shadow: 0px 4px 5px rgba(0,0,0,.35);
    -moz-box-shadow: 0px 4px 5px rgba(0,0,0,.35);
    box-shadow: 0px 4px 5px rgba(0,0,0,.35);
 }

#masonry-container .picture h5{
	font-size: 1.1em;
}

.item-meta {
	background: #fff;
	color: #666;
	margin: 5px 0px;
	padding: 10px 5px;
	border-top: 1px solid #eee;
}

.item-meta i {
	opacity: 0.35;
	filter: alpha(opacity = 65);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";
	margin-right: 5px;
	zoom: 1;
}

.item-meta span {
	margin-right: 10px;
}

/* flex Video */
.flex-video {
	position: relative;
	padding-top: 25px;
	padding-bottom: 67.5%;
	height: 0;
	margin-bottom: 16px;
	overflow: hidden;
}
.flex-video.widescreen { padding-bottom: 57.25%; }
.flex-video.vimeo { padding-top: 0; }
.flex-video iframe,
.flex-video object,
.flex-video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
@media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px), only screen and (max-width: 767px) {
	.flex-video { padding-top: 0; }
}


/* Home Page Middle Content
 ====================================================================== */
section.middle.mid-post{
	background: #fafafa;
	padding: 15px 0 25px;
}

section.middle {
	padding: 15px 0 0;
}

section.middle hr {
	margin-top: 10px;
	margin-bottom: 10px;
	border-top: 1px solid #EBEBEB;
}

 h3.title{
	font-weight: bold;
	font-size: 1.6em;
 	overflow: hidden;
	line-height: 28px;
	position: relative;
	margin: 0 0 10px;
	color: #f29a0d;
 }
 h3.title:after {
	/* background: url(../images/head_bg_off.png) repeat; */
	content: "";
	height: 6px;
	margin-left: 10px;
	position: absolute;
	top: 12px;
	width: 99%;
}
h3.title.text-center:before  {
	/* background: url(../images/head_bg_off.png) repeat; */
	content: "";
	height:6px;
	margin-left: 10px;
	position: absolute;
	top: 12px;
	width: 99%;
	left: 0;
}
h3.title.text-center:after{
	display: none;
}
h3.title.text-center span{
	background: #FFF;
	display: inline-block;
	position: relative;
	padding: 0 20px;
}
/* Article */
.article-img {
	max-height:150px;
	border:6px solid #FFF;
	overflow: hidden;
	-webkit-box-shadow: 1px 2px 4px #C4C4C4;
	-moz-box-shadow: 1px 2px 4px #C4C4C4;
	box-shadow: 1px 2px 4px #C4C4C4;
}
article h4.article-title{
	font-size: 1.2em;
	line-height: 1.5em;
	color:#444;
	margin-bottom: 8px;
}

.article-list article{
	margin-bottom: 10px;
}

.article-list h5{
	margin-top: 0;
	color:#444;
	font-size: 1.1em;
	line-height: 1.2em;
}
.article-list h5 a{
	color:#444;
}
.article-list .article-img{
	max-height:80px;
	border:4px solid #FFF;
}

.article-img:hover img{
	-webkit-transform: scale(1.2) rotate(5deg);
	-moz-transform: scale(1.2) rotate(5deg);
	-ms-transform: scale(1.2) rotate(5deg);
	-o-transform: scale(1.2) rotate(5deg);
	transform: scale(1.2) rotate(5deg);
}

/* Thumb carousel */


.thumb-controls{
	float: right;
	background: #FFF;
	width: 105px;
	height: 30px;
	position: absolute;
	right: 0;
	top: 0;
	padding: 0 10px 0 10px;
}
.thumb-controls .carousel-control{
	width: 35px;
	height: 30px;
	opacity:1;
	background: #f29a0d;
	left:auto;
	top:auto;
	right:0;
	display: inline-block;
	position: relative;
	margin-right: 5px;
}

.thumb-controls  .glyphicon-chevron-left,.thumb-controls  .glyphicon-chevron-right{
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	text-align: center;
	display: inline-block;
	font-size: 0.8em;
	margin-top: 7px;
}
#thumb-carousel{
	margin-top: 10px;
}
#thumb-carousel .item{
	text-align: center;
}
#thumb-carousel .item h5{
	line-height: 1.6em;
}

/* Tabs */
.nav-tabs > li  > a {
	background: #FFF;
	border-radius: 0;
	color:#444;
	border:1px solid #DDD;
}
 .nav-tabs > li  > a:hover, .nav-tabs > li  > a:focus ,
.nav-tabs > li.active > a,  .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
	background: #f29a0d;
	border-radius: 0;
	color:#FFF;
	border:1px solid #f29a0d;
}
.tab-content{
	border:1px solid #DDD;
	border-top: 0;
	padding: 10px;
}

.sponsors-logo {
	margin-top: 35px;
}


/* footer
 ====================================================================== */
 footer.page-footer{
 	background: #3f3f3f;
 	border-top: 5px solid #f29a0d;
 }

.page-footer {
	background: #fafafa;
	padding-top: 10px;
}
.page-footer .widget{
	color:#B4B4B4;
}

.page-footer h4 {
	color: #FFF;
	margin-top: 20px;
	margin-bottom: 20px;
}

/* Photo Stream Flickr */
.gallery-flickr .flickr-widget {
	margin-right: -12px;
	margin-top: 15px;
}
.gallery-flickr .flickr-widget img {
	display: block;
	width: 100%;
	height: auto;
}
.gallery-flickr .flickr-widget a:hover {
	border-color: #505050;
}

.gallery-flickr .flickr-widget a {
	float: left;
	width: 33%;
	padding: 10px;
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	-ms-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
	overflow: hidden;
}
.gallery-flickr .flickr-widget a img {
	border-radius: 4px;
}
.ie7 #gallery-flickr  .flickr-widget a {
	width: 212px;
	height: 152px;
}

/* address */
.page-footer .address a {
	color: #FFF;
	text-decoration: none;
}
address {
	margin-bottom: 7px;
}

.page-footer .address a:hover, a:focus {
	color: #FFF;
	text-decoration: none;
}
.page-footer .address ul li a {
	color: #FFF;
}
.page-footer .address i {
	margin-right: 12px;
	margin-top: 5px;
}
.page-footer .address ul li a:hover {
	text-decoration: none;
	color: #ACA7A7;
}
/* Social Icons */
.social-icons ul li {
	font-size: 14px;
	margin-top: 12px;
	margin-bottom: 12px;
	padding-right: 2px;
	padding-left: 2px;
}
.social-icons ul li a {
	background: #B9BABB;
	border-radius: 50%;
	color: #444;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-ms-transition: all .5s ease-in-out;
	-o-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}
.social-icons ul li a:hover {
	color: #FFF;
	text-decoration: none;
	background: #f29a0d;
}

.copyright {
	padding: 10px 0;
	background: #575757;;
	color:#ACA7A7;
}
.footer-links .nav > li > a {
	padding: 2px 15px;
}
.footer-links .nav > li > a:hover,
.secondary-nav .nav-pills>li.active>a,
.footer-links .nav-pills>li.active>a{
	background:#ACA7A7 ;
	color:#FFF;
}
/* Sidebar
 ======================================================= */
.left-sidebar aside{
	padding-right:10px;
}
.right-sidebar aside{
	padding-left:10px;
}
aside.widget{
	margin-bottom: 20px;
}
.headline h4 {
	padding-bottom: 10px;
	display: inline-block;
	margin-bottom: -2px;
	border-bottom: 2px solid #9EA2A3;
	font-size: 24px;
}
.headline {
	display: block;
	margin: 10px 0 15px 0;
	border-bottom: 1px dotted #E4E9F0;
}
.categories-list li{
	margin-bottom: 5px;
}

/* Photo Stream Flickr */
.gallery-flickr .flickr-widget {margin-right: -12px; margin-top: 15px;}
.gallery-flickr .flickr-widget img {display: block; width: 100%;
	height: auto;}
.gallery-flickr .flickr-widget a:hover {border-color: #505050;}

.gallery-flickr .flickr-widget a {
	float: left;
	width: 32%;
	padding: 4px;
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	-ms-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
	overflow:hidden;
}

/* Breadcrumb */
.breadcrumb {
	padding:6px 15 2px;
	margin-bottom: 0;
	list-style: none;
	background-color: transparent;
	border-radius: 4px;
}
.breadcrumb span.divider {
margin: 0px 5px;
}
.breadcrumb>li+li:before {
	content: none;
}


/* PAGINATION
=========================================================================================================*/

.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 50px 0 20px;
  border-radius: 4px;
  width: 100%;

}

.pagination   ul {
  display: table;
  margin: 0px auto;

}

.pagination   li {
  display: inline;

}

.pagination   li   a,
.pagination   li   span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.428571429;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #dddddd;
}

.pagination   li:first-child   a,
.pagination   li:first-child   span {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.pagination   li:last-child   a,
.pagination   li:last-child   span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.pagination   li   a:hover,
.pagination   li   span:hover,
.pagination   li   a:focus,
.pagination   li   span:focus {
  background-color: #eeeeee;
}

.pagination   .active   a,
.pagination   .active   span,
.pagination   .active   a:hover,
.pagination   .active   span:hover,
.pagination   .active   a:focus,
.pagination   .active   span:focus {
  z-index: 2;
  color: #ffffff;
  cursor: default;
  background-color: #428bca;
  border-color: #428bca;
}

.pagination   .disabled   span,
.pagination   .disabled   a,
.pagination   .disabled   a:hover,
.pagination   .disabled   a:focus {
  color: #999999;
  cursor: not-allowed;
  background-color: #ffffff;
  border-color: #dddddd;
}

.pagination-lg   li   a,
.pagination-lg   li   span {
  padding: 10px 16px;
  font-size: 18px;
}

.pagination-lg   li:first-child   a,
.pagination-lg   li:first-child   span {
  border-bottom-left-radius: 6px;
  border-top-left-radius: 6px;
}

.pagination-lg   li:last-child   a,
.pagination-lg   li:last-child   span {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.pagination-sm   li   a,
.pagination-sm   li   span {
  padding: 5px 10px;
  font-size: 12px;
}

.pagination-sm   li:first-child   a,
.pagination-sm   li:first-child   span {
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}

.pagination-sm   li:last-child   a,
.pagination-sm   li:last-child   span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}






/* For IE 8
 ====================================================================== */
/* Main navigation */
.lt-ie9 .nav-justified > li > a{
	display:block;
	width: auto !important;
}
.lt-ie9 .nav-justified > li{
	width: auto !important;
}
.lt-ie9 .nav-justified.navbar-nav {
	background: #3F3F3F;
}




/* Custom Media Queries
 ====================================================================== */
/*Large desktop*/
@media (min-width: 1200px) {
	#masonry-container .item {
		/*width:270px; */
	}
}

/* Desktop*/
@media (min-width: 993px) and (max-width: 1199px) {

	#masonry-container .item {
	  	/*width:220px; */
	}


	.item .item-image {margin-bottom: 15px;   min-height: 310px; }

}

/*Portrait tablet to landscape tablet and desktop*/
@media (min-width: 768px) and (max-width: 992px) {
	 .nav > li > a{
	 	padding: 15px 5px;
	 }
	 #masonry-container  .item {
	 	 /*width:350px;*/
	}
	.item .item-image {margin-bottom: 15px;   min-height: 220px; }
	.item > h3 {font-size: 15px;}
	.item > .page-header > h2,
	.item .page-header h2 a {line-height: 0.8;	font-size: 19px;
	}


	.breadcrumb {
		padding: 2px 15px;
	}
	.breadcrumb .container {
		padding:5px 15px 2px;


	}

}

/*Landscape phone to portrait tablet*/
@media (max-width: 767px) {
	div.logo.pull-left {
		margin-bottom: 0px;
	}


	.search-blog-item {
	  flex: 1 0 100%;
	  max-width: 100%;
		list-style: none;
		display: flex;
		flex-flow: column;
		align-items: center;
		margin-bottom: 4rem;
	}
	#masonry-container  .item {
	 	 width:480px;
	} .logo.pull-left{
	  	float: none !important;
	  	text-align: center;
	  }
	  .nav-justified > li > a {
		  padding-top: 10px;
		  padding-bottom: 10px;
  	 }
  	 /*collapsed Navbar*/
  	.navbar-header{
  		float: left;
		margin-top: -50px;
  	}
  	.navbar-nav{
  		margin: 0;
  	}
  	.navbar-collapse{
  		padding-left: 0;
  		padding-right: 0;
  	}
  	.navbar {
		min-height: 1px;
		margin-bottom: 5px;
	}
	.navbar-nav .open .dropdown-menu{ background-color: #8D8D8D;  }
	.navbar-static-top .navbar-nav > .active > a, .navbar-static-top .navbar-nav > .active > a:hover, .navbar-static-top .navbar-nav > .active > a:focus,
	.navbar-static-top .navbar-nav > .open > a, .navbar-static-top .navbar-nav > .open > a:hover, .navbar-static-top .navbar-nav > .open > a:focus {
		color: #FFF;
		border-radius:0px;

	}
	.navbar-static-top .navbar-nav > li > a, .dropdown-toggle,.navbar-static-top .navbar-nav .open .dropdown-menu > li > a{
		/* color:#FFF !important; */
		text-align: center;
		border-bottom: 1px solid #6D6D6D;
	}
	.navbar-static-top .navbar-nav .open .dropdown-menu > li:last-child > a{
		border-bottom:0;
	}
	.navbar-static-top .navbar-nav .open .dropdown-menu > li > a:hover,
	.navbar-static-top .navbar-nav .open .dropdown-menu > li > a:focus,.nav .open > a,
	.nav .open > a:hover, .nav .open > a:focus,
	.navbar-static-top .navbar-nav > .open > a,
	.navbar-static-top .navbar-nav > .open > a:hover,
	.navbar-static-top .navbar-nav > .open > a:focus {
	 	color:#444;
	 	background: #f29a0d;
	 	text-align: center;
	 }
	 .dropdown-menu li a{
		padding-left: 15px;
	 }
	 .dropdown-menu .dropdown-menu li a{
		padding-left: 40px !important;
	 }

	 #thumb-carousel  article{
		text-align: center;
		padding-bottom: 25px;
	}

	#thumb-carousel  article a{
		display: block
	}
		#thumb-carousel  article a img{
			display: inline-block;
		}
	.page-footer{
		text-align: center;
	}

	.page-footer .pull-left.copyright-link,.page-footer .pull-right.footer-links{
		float: none !important;
	}
	.pull-right.footer-links .nav-pills > li{
		float: none;
		display: inline-block;
	}

	.nav-justified {
  background-color: transparent;
  border-radius: 0px;
  border:0;
}
.nav-justified > li > a {
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  color: #000;
  text-align: left;
  border-bottom:0;
  background: transparent;
  font-size: 1.1em;
  text-shadow: none;
}

.nav-justified > li > a:hover,
.nav-justified > li > a:focus {
  background-color: transparent;
  background-image: none;
  color: #000;
  box-shadow: #fff;
}
.nav-justified > .active > a,
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus,
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  background-color: transparent;
  background-image: none;
  border:0;
 color: #f90 !important;
  box-shadow: none;
}
.nav-justified > li:first-child > a {
  border-radius: 0;
}
.nav-justified > li:last-child > a {
  border-radius: 0;
}
.navbar-nav > li{
	float: none;
}


.navbar-toggle .icon-bar {
	background-color: #FFF!important;
}
.navbar-toggle {
	background-color: #f90;
	border: 1px solid #666;
}





}

/*Landscape phones and down*/
@media (max-width: 480px) {
	 #masonry-container  .item {
	 	 width:300px;
	}
}

.navbar-brand {
	font-size: 32px;
}
.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li:hover ul {
    visibility: none;
}

.dropdown:hover .dropdown-menu ul {
    display: none;
}

.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}

.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}
.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}
img {
	max-width: 100%;
	height: auto;
}
section.top {
	margin-top: 15px;
}

.home section.bottom {
	margin-top: -80px;
}
div.search-block.pull-right {
	margin-top: 20px
}
div.search-block.pull-right div.module {
	display: inline-block;
}
div.search-module {
	margin-top: -20px;
}
.contact-form .uneditable-input,
.contact-form input,
.contact-form textarea {
width: 100%;
}
.carousel-control {
	position: relative;
}
.carousel-control.left,
.carousel-control.right {
	background-image: none;
}
div#Carousel.carousel a.left i.fa,
div#Carousel.carousel a.right i.fa {
	color: #ff9900;
}
div.arrows.pull-right {
	padding-right: 15px;
}
.btn-danger,
.btn-primary {
color: #FFF;
background-color: #F90;
border-color: #F90;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.open .dropdown-toggle.btn-danger,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #B66D00;
  border-color: #B66D00;
}
ul.breadcrumb {
	padding-left: 0;
}
/* Isotope - to change from btn-group to in-line links */
div.joostrap-portfolio div.portfolio-nav div.joostrap ul#filters.option-set.clearfix.dropdown-menu {
	position: relative;
top: 0;
left: 0;
z-index: 1000;
display: block;
float: left;
width: 100%;
padding: 5px 0;
margin: 2px 0 0;
list-style: none;
font-size: 14px;
background-color: #FFF;
border: none;
border: none;
border-radius: 0;
-webkit-box-shadow: 0;
box-shadow: none;
background-clip: none;
}
div.joostrap-portfolio div.portfolio-nav div.joostrap {
	float: left !important;
	margin-right: 10px;
	margin-bottom: 20px;
}
div.joostrap-portfolio div.portfolio-nav div.joostrap ul#filters.option-set li.btn {
	margin-bottom: 5px;
}
div.portfolio-nav div.joostrap a.btn {
	display: none;
}
div.joostrap-portfolio div.portfolio-nav div.joostrap ul#filters.option-set li.btn a:hover {
	background-color: transparent;
}
div.joostrap-portfolio div.portfolio-nav div.joostrap ul#filters.option-set li.btn a.selected {
	color: #fff;
}
/* end Isotope change */
a.btn.btn-primary.btn-sm {
	margin-top: -3px;
}
a.btn.dropdown-toggle {
	background-color: #444;
}
/* frontend edit */
div#jform_catid_chzn.chzn-container, div#jform_catid_chzn.chzn-container div.chzn-drop,
div#jform_state_chzn.chzn-container, div#jform_state_chzn.chzn-container div.chzn-drop,
div#jform_featured_chzn.chzn-container, div#jform_featured_chzn.chzn-container div.chzn-
drop, div#jform_access_chzn.chzn-container, div#jform_access_chzn.chzn-container
div.chzn-drop, div#jform_metadata_tags_chzn.chzn-container,
div#jform_metadata_tags_chzn.chzn-container div.chzn-drop, div#jform_language_chzn.chzn-
container, div#jform_language_chzn.chzn-container div.chzn-drop, div#jform_language_chzn.chzn-container,
div#jform_tags_chzn.chzn-container {
   width: 280px !important;
}
div#jform_tags_chzn.chzn-container ul.chzn-choices li.search-field input.default {
	padding: 0;
}
ul.manager.thumbnails li {
	display: inline-block;
}
a.modal-button.btn, div.btn-toolbar a.btn, form#imageForm.form-vertical div.well div.row
div.pull-right button.btn.btn-primary, form#adminForm.form-inline fieldset.filter
div.btn-toolbar div.btn-group button.btn.hasTooltip, body.contentpane button {
   display: inline-block;
   padding: 6px 12px;
   margin-bottom: 10px;
   font-size: 14px;
   font-weight: normal;
   line-height: 1.428571429;
   text-align: center;
   white-space: nowrap;
   vertical-align: middle;
   cursor: pointer;
   border: 1px solid rgba(0, 0, 0, 0);
   border-radius: 4px;
   -webkit-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
   -o-user-select: none;
   color: #FFF;
   background-color: #1085DE;
   border-color: #1085DE;
}
/* end frontend edit */
