/*
Theme Name: 	SBEnrc
Description: 	The SBEnrc website theme!
Version: 		2.0
Author: 		Niche Studio
*/


/* @Font-Face Styles */

.container {
	width: 100%;
}

.category-intros .container .row{
	display: flex !important;
	flex-wrap: wrap;
}

@font-face {
    font-family: 'Museo300Regular';
    src: url('css/fonts/Museo300-Regular-webfont.eot');
    src: url('css/fonts/Museo300-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('css/fonts/Museo300-Regular-webfont.woff') format('woff'),
         url('css/fonts/Museo300-Regular-webfont.ttf') format('truetype'),
         url('css/fonts/Museo300-Regular-webfont.svg#Museo300Regular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotolight';
    src: url('css/fonts/Roboto-Light-webfont.eot');
    src: url('css/fonts/Roboto-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('css/fonts/Roboto-Light-webfont.woff') format('woff'),
         url('css/fonts/Roboto-Light-webfont.ttf') format('truetype'),
         url('css/fonts/Roboto-Light-webfont.svg#robotolight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotoregular';
    src: url('css/fonts/Roboto-Regular-webfont.eot');
    src: url('css/fonts/Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('css/fonts/Roboto-Regular-webfont.woff') format('woff'),
         url('css/fonts/Roboto-Regular-webfont.ttf') format('truetype'),
         url('css/fonts/Roboto-Regular-webfont.svg#robotoregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotomedium';
    src: url('css/fonts/Roboto-Medium-webfont.eot');
    src: url('css/fonts/Roboto-Medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('css/fonts/Roboto-Medium-webfont.woff') format('woff'),
         url('css/fonts/Roboto-Medium-webfont.ttf') format('truetype'),
         url('css/fonts/Roboto-Medium-webfont.svg#robotomedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotobold';
    src: url('css/fonts/Roboto-Bold-webfont.eot');
    src: url('css/fonts/Roboto-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('css/fonts/Roboto-Bold-webfont.woff') format('woff'),
         url('css/fonts/Roboto-Bold-webfont.ttf') format('truetype'),
         url('css/fonts/Roboto-Bold-webfont.svg#robotobold') format('svg');
    font-weight: normal;
    font-style: normal;

}


/*
===========================
CONTENTS:

01 Sensible defaults
02 Typography
03 Media queries 
===========================
*/

/* ---------------------------------------------------------------------------------------------------------- 
01 Sensible defaults ----------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

div,
article,
section,
header,
footer,
nav,
li					{ position:relative; /* For absolutely positioning elements within containers (add more to the list if need be) */ }
.group:after 		{ display:block; height:0; clear:both; content:"."; visibility:hidden; /* For clearing */ }
body 				{ background:#fff; /* Don't forget to style your body to avoid user overrides */ }
/*::-moz-selection 	{ background:#ff0; color:#333; }
::selection 		{ background:#ff0; color:#333; }*/

/* ---------------------------------------------------------------------------------------------------------- 
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
/*

14 / 16	= 		0.875em 		(14px equivalent)
16 / 16	= 		1em 			(16px equivalent)
18 / 16 = 		1.125em 		(18px equivalent)
21 / 16 = 		1.3125em 		(21px equivalent)
24 / 16 = 		1.5em 			(24px equivalent)
30 / 16 = 		1.875em 		(30px equivalent)

*/

.clearfix,
hr {
	z-index: -1;
}

body,
input,
textarea 			{ 
	font-family: 'robotoregular', helvetica, arial, sans-serif !important;

/* We strongly recommend you declare font-weight using numerical values, but check to see which weights you're exporting first */ 
}

img {
	max-width: 100%;
	height: auto;
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6 					{ 
	font-family: 'Museo300Regular', helvetica, arial, sans-serif !important;
	font-weight: normal; /* This helps to identify headings at the initial build stage, but you should write something more precise later on */ 
}

/* ---------------------------------------------------------------------------------------------------------- 
03 Media queries (using a mobile-first approach) ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

header {
	padding: 10px 0 25px;
	z-index: 1;
}

strong {
	font-family: 'robotobold';
	font-weight: normal !important;
}

.menu-main-menu-container {
	z-index: 99;
}

#menu-main-menu {
	float: right;
	margin-top: 25px;
}

#menu-main-menu li {
	float: left;
	display: block;
	list-style: none;
	margin-left: 8px;
	position: relative;
}

#menu-main-menu li a {
	color: #6CA93F;
	font-size: 16px;
}




#menu-main-menu li.current-menu-item .sub-menu a {
	color: #6CA93F;
}

#menu-main-menu li.current-menu-ancestor a {
	color: #934B57;
}

#menu-main-menu li.current-menu-ancestor .sub-menu a {
	color: #6CA93F;
}

#menu-main-menu li.current-menu-item a {
	color: #934B57;
	text-decoration: none;
}

#menu-main-menu li a:hover {
	color: #934B57 !important;
	text-decoration: none;
}

/*#menu-main-menu li.current-menu-item a {
	text-decoration: underline;
}*/

#menu-main-menu li ul {
	display: none;
	position: absolute;
	padding: 10px;
	background: #f8f8f8;
}

#menu-main-menu li ul li {
	margin-left: 0;
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 1px solid #E0E0E0;
	width: 100%;
}

#menu-main-menu li ul li:last-child {
	margin-bottom: 0;
	border-bottom: none;
	padding-bottom: 0;
}

#menu-main-menu li ul li a {
	font-size: 15px;
	text-decoration: none !important;
}

#menu-main-menu li:hover ul {
	display: block;
}
#menu-main-menu li ul li.current-menu-item a,
#menu-main-menu li ul a:hover {
	color: #934b52 !important;
	text-decoration: none;
}

.title-container {
	padding: 38px 0;
	-webkit-background-size: cover !important;
 	-moz-background-size: cover !important;
 	-o-background-size: cover !important;
 	background-size: cover !important;
}

.title-container h1 {
	color: #fff;
	font-size: 90px;
	margin: 0;
}

.category-intros {
	margin-top: 30px;
}

a.section-cat-wrap {

}

a.section-cat-wrap:hover {
	text-decoration: none
}

a.section-cat-wrap:hover .intro-block {
	background: #f8f8f8;
}

.heading-block {
	background: url('img/cat-overlay.png') repeat-y center left;
	color: #fff;
	font-size: 16px;
	padding: 15px 10px;
	min-height: 120px;
}

.heading-block h2 {
	font-size: 31px;
	margin: 0;
}

.intro-block {
	padding: 15px 10px;
	background: #e4e4e5;
	line-height: 1.8em;
	border-bottom: 2px solid #6c6c6f;
	letter-spacing: -0.3px;
	color: #333;
	
}

.section-menu-cont {
	background: #d7d7d8;
	margin-top: 30px;
}

.section-menu {
	padding-left: 0;
	margin: 0;
}

.section-menu li {
	float: left;
	list-style: none;
}

.section-menu li a {
	color: #000;
	font-size: 26px;
	text-align: center;
	font-family: 'robotolight';
	display: block;
}

.section-menu li a.active,
.section-menu li a:hover {
	background: #e4e4e5;
	text-decoration: none;
}


.section-menu a .overlay {
	padding: 8px 20px;
	display: block;
}

.section-menu a.active .overlay,
.section-menu a:hover .overlay {
	background: url('http://192.168.0.121:8888/sbenrc/wp-content/themes/sbenrc/img/cat-overlay.png') repeat-y center left;
	color: #fff;
}

.section-menu a.all.active .overlay,
.section-menu a.all:hover .overlay {
	color: #000;
}

#packery-wrapper {
	background: #e4e4e5;
	padding-top: 50px;
	padding-bottom: 30px;
	margin-bottom: 40px;
}

#packery-block .item {
	width: 22.9%;
	background: #fff;
	border-bottom: 2px solid #6c6c6f;
	margin-right: 18px;
	margin-bottom: 18px;
	overflow: hidden;
	display: block;
	z-index: 1;
}

#packery-block .item .inner {
	padding: 10px;
	font-size: 14px;
	color: #000;
	line-height: 1.4em;
}

#packery-block .item .inner h2 {
	font-size: 18px;
	font-family: 'robotolight' !important;
	line-height: 1.4em;
}

#packery-block .item .section-colour {
	height: 8px;
	background: url('img/cat-overlay.png') repeat-y center left;
}

#packery-block .uncompleted-marker {
	background: url('img/cat-overlay.png') repeat-y center left;
	color: #FFF;
	font-size: 12px;
	float: right;
	margin-right: 10px;
	padding: 5px 10px;
}

#packery-block .productivity .uncompleted-marker {
	background-color: #2f5b7d;
}

#packery-block .environment .uncompleted-marker {
	background-color: #679944;
}

#packery-block .processes .uncompleted-marker {
	background-color: #751520;
}

#packery-block .completed-marker {
	background: #79797c;
	color: #FFF;
	font-size: 12px;
	float: right;
	margin-right: 10px;
	padding: 5px 10px;
}

#packery-block .category-marker {
	float: left;
	margin-left: 10px;
	font-size: 12px;
	color: #ababac;
	font-family: 'robotobold';
	padding-bottom: 8px;
}

#packery-block .item .overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	display: none;
}

#packery-block .item .overlay span {
	display: block;
	height: 100%;
	background: url('img/overlay-icon.png') no-repeat center center;
}



#packery-block .item:hover .overlay {
	display: block;
	z-index: 10
}

#packery-block .item:hover a.post-link,
#packery-block .item a.post-link {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	z-index: 99;
	left: 0;
	display: block;
	z-index: 999;
}

#packery-block .item.productivity .overlay {
	background: url('img/overlay-productivity.png');
}

#packery-block .item.processes .overlay {
	background: url('img/overlay-processes.png');
}

#packery-block .item.environment .overlay {
	background: url('img/overlay-environment.png');
}

.hideme {
	left: 0 !important;
	top: 0 !important;
	height: 0 !important;
	width: 0 !important;
	position: relative !important;
	visibility: hidden !important;
	display: none !important;
}


.fader {
	margin-top: -101px;
	z-index: 0;
	width: 100% !important;
}

.fader .slide {
	width: 100% !important;
	height: 380px;
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
}

#intro-block-wrapper {
	text-align: center;
	font-size: 14px;
	line-height: 1.8em;
	padding: 10px 0 5px;
}

#intro-block-wrapper h2 {
	color: #355F80;
	font-size: 46px;
}

#intro-block-wrapper a {
	background: #355F80;
	color: #fff;
	padding: 5px 15px;
}

.home.category-intros {
	background: #e4e4e5;
	height: 310px;
	z-index: 1;
}

.home.category-intros .intro-block {
	background: #fff;
	min-height: 420px;
}

.home.category-intros .top-section {
	text-align: center;
	padding-top: 10px;
	padding-bottom: 35px;
}

.home.category-intros .top-section h2 {
	font-size: 46px;
	margin-bottom: 0;
}

.home.category-intros .top-section a {
	color: #666666;
	font-size: 12px;
}

.main-block {
	padding: 330px 0 50px;
	width: 100%;
	background: url('img/home-panel.png') no-repeat center center;
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://localhost:8888/sbenrc/wp-content/themes/sbenrc/img/home-panel.png', sizingMethod='scale');
	-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://localhost:8888/sbenrc/wp-content/themes/sbenrc/img/home-panel.png', sizingMethod='scale')";
}

html.ie8 .main-block {
	top: -170px;
	margin-bottom: -170px;
}

html.ie8 #footer-partners .footer-image-wrap {
	min-height: 40px !important;
}

.home-block-1 a {
	color: #2f5b7d;
}

.home-block-1 {
	margin-bottom: 65px;
	color: #fff;
	line-height: 1.7;
}

.home-block-2 {
	color: #fff;
	color: #fff;
	line-height: 1.7;
	margin-top: 60px;
}

.home-block-2 h2 {
	margin-top: 0;
	color: #fff;
	font-size: 40px;
}

.home-block-2 a.button {
	color: #6CA93F;
	padding: 6px 15px;
	background: #fff;
	float: left;
	margin-top: 5px;
}

.home-block-2 .wp-caption-text {
	color: #000;
	text-align: center;
	margin-top: 5px;
}

footer {
	background: #e4e4e5;
	padding: 25px 0;
}

#footer-news {
	text-align: center;
	line-height: 1.6em;
}

#footer-news h2 {
	font-size: 46px;
}

#footer-news h3 {
	font-family: 'robotobold' !important;
	font-size: 14px;
}

#footer-news a.button {
	color: #fff;
	background: #000;
	padding: 6px 15px;
	text-align: center;
	display: block;
	margin: 15px auto 0;
	width: 100px;
}

#footer-news a.button:hover {
	background: #585858;
	text-decoration: none;
}

#footer-partners {
    padding: 30px 0;
}

#footer-partners .partner-bg {
	background: #f2f2f2;
	margin-top: 25px;
}

#footer-partners .footer-gallery {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	align-items: center;
}

#footer-partners .footer-gallery .partner {
	padding: 15px;
}

#footer-partners .footer-gallery .partner a {
	display: flex;
	height: 100%;
    justify-content: center;
    align-items: center;
}

#footer-partners .partner-block a.button {
	display: block;
	font-size: 18px;
	color: #fff;
	background: #6caa40;
	padding: 6px 12px;
	text-align: center;
}

#footer-partners .partner-block a.button:hover {
	background: #5F9E32;
	text-decoration: none;
}

.footer-gallery .partner img {
	width: auto;
    height: auto;
}

#footer-partners h2 {
	font-size: 35px;
	color: #6CA93F;
	font-family: 'robotolight' !important;
	margin-top: 18px;
	margin-right: 18px;
}

.col-sm-1{
	padding: 1px !important;
}


#footer-partners .partner-block h2 {
	display: block;
	width: 100%;
}

#footer-partners .partner-block a {
	background-color: #6CA93F;
	    color: #fff;
	    padding: 10px 20px;
	    font-size: 18px;
	    width: 100%;
	    display: block;
}

#footer-partners .partner-block a.button {
	display: block;
	font-size: 18px;
	color: #fff;
	background: #6caa40;
	padding: 6px 12px;
	text-align: center;
}

#footer-partners .partner-block a.button:hover {
	background: #5F9E32;
	text-decoration: none;
}

#newsletter-cont {
	margin-bottom: 25px;
}

#newsletter-cont .newsletter-bg {
	background: #d7d7d8;
	padding: 15px 0;
}

#newsletter-cont .newsletter-bg span {
	font-family: 'robotolight' !important;
	font-size: 38px;
	float: left;
	margin-right: 15px;
}

#newsletter-cont #fieldEmail {
	width: 300px;
	margin-top: 12px;
	border: none;
	padding: 6px 10px;
}

	#newsletter-cont #fieldEmail::-webkit-input-placeholder {
	   color: #000;
	}
	#newsletter-cont #fieldEmail:-moz-placeholder { /* Firefox 18- */
	   color: #000;
	}
	#newsletter-cont #fieldEmail::-moz-placeholder {  /* Firefox 19+ */
	   color: #000;
	}
	#newsletter-cont #fieldEmail:-ms-input-placeholder {  
	   color: #000;
	}

#newsletter-cont button {
	background: #000;
	border: none;
	color: #fff;
	padding: 6px 20px;
	margin-left: 8px;
}

#newsletter-cont button:hover {
	background: #585858;
}

#newsletter-cont .footer-details {
	margin-top: 8px;
}

#newsletter-cont .footer-details p {
	margin-bottom: 0;
	font-family: 'robotomedium' !important;
}

#newsletter-cont .footer-details a {
	color: #6CA93F;
	font-family: 'robotoregular' !important;
}

.footer-menu-wrap {
	margin-top: 20px;
	float: left;
}

.footer-menu-wrap span {
	float: left;
}	

.footer-menu-wrap li {
	float: left;
	list-style: none;
	margin-left: 15px;
}

.footer-menu-wrap li a {
	color: #000;
}

#menu-footer-menu {
	padding: 0;
}

.menu-footer-menu-container {
	float: left;
}

.niche-logo {
	margin-top: 10px;
}

body.single .main-post-cont a {
	color: #6CA93F;
}

body.single .main-post-cont.processes a {
	color: #934b52;
}

body.single .main-post-cont.productivity a {
	color: #305b7a;
}

#title-wrap {
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
}

#title-wrap.environment {
	background: url('img/bg-environment.png') no-repeat center center;
}

#title-wrap.processes {
	background: url('img/bg-processes.png') no-repeat center center;
}

#title-wrap.productivity {
	background: url('img/bg-productivity.png') no-repeat center center;
}

h1#post-heading {
	/*font-size: 41px;*/
	font-size: 32px;
	color: #fff;
	margin: 25px 0;
}

.featured-thumb {
	/*margin-top: 30px;*/
}

body.single .featured-thumb img {
	position: absolute;
}

.news-listing-wrapper,
.main-post-cont {
	padding: 25px 0;
}

.news-listing-wrapper .tags a {
	font-size: 13px;
	color: #ababac;
}

.post-content {
	line-height: 1.8em;
	padding-bottom: 20px;
}

.post-content p:first-child {
	font-family: 'robotobold';
}

.leaders-block h3 {
	color: #355F80;
	font-size: 20px;
    font-family: 'robotoregular' !important;
    margin-bottom: 25px;
    margin-top: 0;
}

.leaders-block img {
	margin-bottom: 10px;
}

.leaders-block h5 {
	font-family: 'robotobold' !important;
}


.leaders-block.environment a {
	color: #88ad6d;
}

.leaders-block.processes a {
	color: #934b52;
}

.leaders-block.productivity a {
	color: #305b7a;
}


.section-link a {
	color: #fff !important;
	padding: 5px 15px;
	margin-bottom: 10px;
	display: block;
	float: left;
}

.environment .section-link a {
	background: #88ad6d;
}

.environment .section-link a:hover {
	text-decoration: none;
	background: #A2C787;
}

.processes .section-link a {
	background: #934b52;
}

.processes .section-link a:hover {
	text-decoration: none;
	background: #B27278;
}

.productivity .section-link a {
	background: #305b7a;
}

.productivity .section-link a:hover {
	text-decoration: none;
	background: #447394;
}

#page-title-wrapper {
	background: url('img/bg-environment.png');
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
}

#page-title-wrapper h1 {
	font-size: 60px;
	color: #fff;
	margin: 25px 0;
}

.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea {
	border: 1px solid #333;
	padding-left: 5px;
	margin-top: 2px;
	margin-bottom: 5px;
}

.wpcf7 input.wpcf7-submit {
	display: block;
	font-size: 18px;
	color: #fff;
	background: #6caa40;
	padding: 6px 12px;
	text-align: center;
	border: none;
}

.wpcf7 input.wpcf7-submit:hover {
	background: #5F9E32;
}

.wpcf7 span.wpcf7-not-valid-tip {
	background: none;
	border: none;
	left: 5px;
	top: 0px;
	color: #CA0A0A;
}

.wpcf7 .your-message span.wpcf7-not-valid-tip,
.wpcf7 .EnquiryType span.wpcf7-not-valid-tip {
	top: -6px;
	left: 0;
	position: relative;
}

.wpcf7 div.wpcf7-validation-errors {
	border: 1px solid #CA0A0A;
	color: #CA0A0A;
	background: #FFDBDB;
	margin: 0;
	padding: 8px 10px;
	border-radius: 4px;
}

.wpcf7 div.wpcf7-mail-sent-ok {
	border: 1px solid #6caa40;
	color: #6caa40;
	background: #F1FFE7;
	margin: 0;
	padding: 8px 10px;
	border-radius: 4px;
}

.news-listing-wrapper article {
	padding: 10px;
}

.news-listing-wrapper article:nth-child(even) {
	background: #F5F5F5;
}

.news-listing-wrapper article h2 {
	margin-top: 5px;
}

.news-listing-wrapper article h2 a {
	color: #6CA93F;
}

.news-listing-wrapper article .button {
	display: block;
	font-size: 14px;
	color: #fff;
	background: #6caa40;
	padding: 5px 12px;
	text-align: center;
}

.news-listing-wrapper article .button:hover {
	background: #5F9E32;
	text-decoration: none;
}

body.page .main-post-cont a {
	color: #88ad6d;
}

.news-post-heading {
	background: url('img/bg-environment.png');
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
}

body.single .wp-caption-text {
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
	margin-top: 5px;
}


.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	margin: 0 auto;
	display: block;
}

.pagination-cont {
	margin-top: 15px;
}

.pagination-cont a {
	display: block;
	font-size: 14px;
	color: #fff;
	background: #6caa40;
	padding: 5px 12px;
	text-align: center
}

.pagination-cont a:hover {
	text-decoration: none;
	background: #5F9E32;
}

.ignore {
	display: none !important;
}

.navbar-default .navbar-brand {
	max-width: 75%;
	z-index: 999;
	position: relative;
}

header .navbar-default {
	margin-bottom: 0;
}


.panel {
	border-radius: 0;
}

.panel h3 {
	margin: 0;
}

span.section-divider {
	display: block;
	float: left;
	margin-right: 8px;
	margin-left: 5px;
	margin-top: 1px;
	font-size: 20px;
	color: #fff;
}

/*.environment span.section-divider {
	color: #88ad6d;
}

.processes span.section-divider {
	color: #934b52;
}

.productivity span.section-divider {
	color: #305b7a;
}
*/
.section-link {
	margin-top: 10px;
}

.section-link a {
	color: #fff !important;
	padding: 5px 5px 5px 0;
	margin-bottom: 10px;
	display: block;
	float: left;
	font-size: 16px;
	background: none !important;
}

.section-link a:hover {
	color: #dbdbdb !important;
}

h1#post-heading {
	margin: 5px 0 25px;
}

/*homepage update*/
.featured-initiatives-block{
    padding: 30px;
    background: #fff;
    line-height: 1.8em;
    border-bottom: 2px solid #6c6c6f;
    letter-spacing: -0.3px;
    color: #333;
    margin-top: 60px;
}

.home-block-2 a{
	color: #fff;
	text-decoration: underline;
}

.home-block-2 a:hover{
	color: #fff;
	text-decoration: underline;
}

.featured-title{
	text-align: center;
}

.featured-title h2{
	font-size: 46px;
	margin-bottom: 0px;
}

.featured-title a {
    color: #666666;
    font-size: 12px;
}

.bimlink{
	color: #6caa40;
}

.bimlink:hover{
	color: #6caa40;
	text-decoration: underline;
}

#attachment_57{
	width: auto !important;
}

.gallery {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.gallery-item {
	width: auto !important;
    max-width: 25%  !important;
	height: 150px  !important;
	padding: 15px 20px !important;
	float:none  !important;
	margin: 10px 0  !important;
}
.gallery-item img {
	border: none !important;
	max-width: 100%;
    max-height: 120px;
	width: auto;
	height: auto;
}

.gallery-item dt {
	display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

/* 03 Responsive Media Queries */


/* Tablet / iPad */

@media (min-width: 768px){
	.partner-bg .col-sm-3{
		width: 20%;
		padding: 0px;
	}
}


@media (max-width: 991px){
	.home.category-intros .intro-block{
		min-height: auto;
	}
	
	.main-block {
	    padding: 1050px 0 50px;
	}
}

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

	#packery-block .item {
		width: 30.8% !important;
	}

	.intro-block {
		font-size: 13px;
	}

	.heading-block h2 {
		font-size: 31px;
	}

	#menu-main-menu {
		padding-left: 0;
	}

	h1#post-heading {
		font-size: 28px;
	}

}

/* Mobile / Phone */

@media (max-width: 767px) {
	#footer-partners .footer-gallery {
		justify-content: center;
	}
	#footer-partners .footer-gallery .partner {
		max-width: 50%;
		width: 50%;
	}

	.home.category-intros {
		height: auto;
		padding-bottom: 25px;
	}

	.home.category-intros div.col-sm-4 {
		margin-bottom: 15px;
	}

	.main-block {
		padding: 50px 0;
	}

	.home-block-2 h2 {
		margin-top: 10px;
		font-size: 35px;
	}

	#newsletter-cont #fieldEmail {
		width: 62%;
	}

	#footer-partners .partner-block a.button {
		float: left;
		width: 100%;
		margin-bottom: 20px;
	}

	#footer-partners {
		text-align: center;
		
	}

	#footer-partners h2 {
		width: 100%;
		font-size: 30px;
	}

	.partner-block p {
		clear: both;
	}

	#footer-partners .footer-image-wrap {
		width: 100%;
	}

	#footer-partners .footer-image-wrap img {
		display: block;
		margin: 0 auto;
	}

	#packery-block .item {
		width: 100%;
	}

	.heading-block {
		margin-top: 15px;
	}

	#page-title-wrapper h1,
	.title-container h1 {
		font-size: 45px;
	}

	.section-menu li {
		width: 100%;
	}

	.wpcf7 select,
	.wpcf7 input,
	.wpcf7 textarea {
		max-width: 100%;
		width: 100%;
	}

	.wpcf7 select {
		margin-bottom: 0;
	}

	header .navbar-default .navbar-collapse, 
	header .navbar-default .navbar-form,
	header .navbar-default {
		background: none;
		border: none;
	}

	header .navbar-default .navbar-toggle {
		margin-right: none;
		margin-top: 20px;
		background: #771f1f;
	}

	header .navbar-default .navbar-toggle:focus,
	header .navbar-default .navbar-toggle:hover {
		background: #8D2B2B;
	}

	header .navbar-default ul {
		padding-left: 0;
	}

	header .navbar-default ul li {
		list-style: none;
		margin-bottom: 5px;
	}

	header .navbar-default ul li a {
		color: #6CA93F;
		font-size: 16px;
	}

	header .navbar-default ul ul {
		background: #f8f8f8;
		padding: 10px 10px 1px 10px;
	}

	header .navbar-default ul ul li a {
		font-size: 14px;
	}

	#newsletter-cont .newsletter-bg span {
		width: 100%;
	}

	#newsletter-cont #fieldEmail {
		width: 100%;
	}

	#newsletter-cont button {
		margin-left: 0;
		margin-top: 5px;
	}

	.footer-bottom {
		text-align: center;
	}

	.footer-bottom img {
		display: block;
		margin: 0 auto;
		float: none !important;
	}

	.menu-footer-menu-container,
	.footer-menu-wrap {
		width: 100%;
		margin-bottom: 10px;
	}

	.footer-menu-wrap span/*,
	.menu-footer-menu-container li*/ {
		margin-left: 0;
		width: 100%;
	}

	.wp-caption {
		max-width: 100%;
	}

	.home.category-intros .top-section {
		padding-bottom: 0;
	}

	#packery-block .item .thumbnail-wrapper img {
		width: 100%;
	}

	body.single	.featured-thumb img {
		width: 100%;
	}

	body.single .post-content {
		margin-top: 0 !important;
	}

	body.single .post-content.push {
		margin-top: 65% !important;
	}

	.fader {
		margin-top: -132px;
	}

	body {
		overflow-x: hidden;
	}

	.footer-menu-wrap {
		float: none;
		width: auto;
		display: inline-block;
	}

	.menu-footer-menu-container {
		float:right;
	    position:relative;
	    left:-50%;
	    text-align:left;
	    margin-left: -35px;
	}

	#menu-footer-menu {
		list-style:none;
   		position:relative;
    	left:50%;
	}
	
	.gallery-item {
		max-width: 50%  !important;
	}

}
