
/*= Bootstrap adjustments
==================================*/
.nowrap { white-space: nowrap; }

@media screen and (min-width: 768px) and (max-width: 1199px){
	.container>.navbar-header, .container-fluid>.navbar-header, .container>.navbar-collapse, .container-fluid>.navbar-collapse {
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
}
.figure:not([class*='col-']),
.figure > img,
.figure-image > img {
	max-width: auto;
	width: 100%;
}

body.single article .post-body .list-container .thumbnail { margin: 0px !important; }

article + article .post-body.gutter1 { margin-top: 1em !important; }

article + article .post-body.gutter2 { margin-top: 2em !important; }

article + article .post-body.gutter3 { margin-top: 3em !important; }

article + article .post-body.gutter4 { margin-top: 4em !important; }

body.single article .post-body .list-container .wp-caption img { margin: 1em 0 0 0 !important; }
body.single article .post-body.gutter1 .list-container { margin-top: 0em; }

article[class*='gutter'] > .row.list-container > .wp-caption img { margin: 0px !important; }

article[class*='gutter3'] > .row.list-container > .wp-caption > * { margin-bottom: 0.0em !important; }
section:not([class*='gutter']) > .container.gutter0 > .row,
section.gutter0[class*='gallery-columns-'] > .container > .row, 
section.gutter0 > .container > .row,
section.gutter0 .col-md-12 > .row:not([class*='gutter']),
.row.gutter0 {
	margin-left: 0em !important;
	margin-right: 0em !important;
}
section:not([class*='gutter']) > .container.gutter0 > .row > [class*='col-'],
section.gutter0 > .container > .row > * > .container:not([class*='gutter']) > .row > *,
section.gutter0 > .container > .row > *,
section.gutter0 .col-md-12 > .row:not([class*='gutter']) > *,
.row.gutter0 > * {
	padding-left: 0em !important;
	padding-right: 0em !important;
}
.section.gutter2 > .feature-grid.row > *,
.row.gutter2 > [class*='col-'] > article.post-grid-overlay,
section.gutter2 > .container > .row > * > .post-grid-overlay,
article[class*='gutter2'] > .row.list-container > .wp-caption > * { margin-bottom: 2em !important; }

*[class*='gutter0'] > .row.list-container .thumbnail { margin-bottom: 1em !important; }

.post-body.gutter2,
.section.gutter2 > .feature-grid.row,
section:not([class*='gutter']) > .container.gutter2 > .row,
section.gutter2[class*='gallery-columns-'] > .container > .row, 
section.gutter2 > .container > .row,
section.gutter2 .col-md-12 > .row:not([class*='gutter']),
.row.gutter2 {
	margin-left: -1em !important;
	margin-right: -1em !important;
}
.post-body.gutter2 > *,
.section.gutter2 > .feature-grid.row > *,
section:not([class*='gutter']) > .container.gutter2 > .row > [class*='col-'],
section.gutter2 > .container > .row > * > .container:not([class*='gutter']) > .row > *,
section.gutter2 > .container > .row > *,
section.gutter2 .col-md-12 > .row:not([class*='gutter']) > *,
.row.gutter2 > * {
	padding-left: 1em !important;
	padding-right: 1em !important;
}
.post-body.gutter3,
section.gutter3 > .container > .row > * > .post-grid-overlay ,
.row.gutter3 > [class*='col-'] > article.post-grid-overlay,
.section.gutter3 > .feature-grid.row,
section:not([class*='gutter']) > .container.gutter3 > .row,
section.gutter3[class*='gallery-columns-'] > .container > .row, 
section.gutter3 .col-md-12 > .row:not([class*='gutter']),
section.gutter3 > .container > .row,
.row.gutter3 {
	margin-left: -1.5em !important;
	margin-right: -1.5em !important;
}
.post-body.gutter3 > *,
.section.gutter3 > .feature-grid.row > *,
section:not([class*='gutter']) > .container.gutter3 > .row > [class*='col-'],
section.gutter3 > .container > .row > * > .container:not([class*='gutter']) > .row > *,
section.gutter3 > .container > .row > *,
section.gutter3 .col-md-12 > .row:not([class*='gutter']) > *,
/* *[class*='gutter3'] .row.list-container:not([class*='gutter']) > *, */
.row.gutter3 > * {
	padding-left: 1.5em !important;
	padding-right: 1.5em !important;
}
.post-body.gutter4,
.section.gutter4 > .feature-grid.row,
/* *[class*='gutter4'] .row.list-container:not([class*='gutter']), */
section:not([class*='gutter']) > .container.gutter4 > .row,
section.gutter4[class*='gallery-columns-'] > .container > .row,
section.gutter4 .col-md-12 > .row:not([class*='gutter']),
section.gutter4 > .container > .row,
.row.gutter4 {
	margin-left: -1em !important;
	margin-right: -1em !important;
}
.post-body.gutter4 > *,
.section.gutter4 > .feature-grid.row > *,
section:not([class*='gutter']) > .container.gutter4 > .row > [class*='col-'],
section.gutter4 > .container > .row > * > .container:not([class*='gutter']) > .row > *,
section.gutter4 > .container > .row > *,
section.gutter4 .col-md-12 > .row:not([class*='gutter']) > *,
/* *[class*='gutter3'] .row.list-container:not([class*='gutter']) > *, */
.row.gutter4 > * {
	padding-left: 2em !important;
	padding-right: 2em !important;
}


/* GUTTER1 IS SET AS THE DEFAULT HERE -----------------------------------------~~~~~~~~~~ */

.section.gutter1 .list-container > *,
.section.gutter1 > .feature-grid.row > *,
.row.gutter1 > [class*='col-'] > article.post-grid-overlay,
article[class*='gutter1'] > .row.list-container > .wp-caption > *,
section.gutter1 > .container > .row > * > .post-grid-overlay { margin-bottom: 1em !important; }

.section.gutter1 > .feature-grid.row,
section:not([class*='gutter']) > .container:not([class*='gutter']) > .row,
section:not([class*='gutter']) > .container.gutter1 > .row,
section.gutter1[class*='gallery-columns-'] > .container > .row, 
section.gutter1 > .container > .row > * > .container:not([class*='gutter']) > .row, /* handles inheritance for non-specified containers ... use only on this DEFAULT */
section.gutter1 > .container > .row,
section:not([class*='gutter']) .col-md-12 > .row:not([class*='gutter']),
section.gutter1 .col-md-12 > .row:not([class*='gutter']),
.row.list-container:not([class*='gutter']),
.row.gutter1 {
	margin-left: -0.5em !important;
	margin-right: -0.5em !important;
}
.section.gutter1 > .feature-grid.row > *,
section:not([class*='gutter']) >.container:not([class*='gutter']) > .row > [class*='col-']:not([class*='offset']):not(header),
section:not([class*='gutter']) > .container.gutter1 > .row > [class*='col-'],
section.gutter1 > .container > .row > * > .container:not([class*='gutter']) > .row > *,
section.gutter1 > .container > .row > *,
section:not([class*='gutter']) .col-md-12 > .row:not([class*='gutter']) > *,
section.gutter1 .col-md-12 > .row:not([class*='gutter']) > *,
.row.list-container:not([class*='gutter']) > *,
.row.gutter1 > *, .row > header {
	padding-left: 0.5em !important;
	padding-right: 0.5em !important;
}


/* GUTTER1 IS SET AS THE DEFAULT HERE -----------------------------------------~~~~~~~~~~ */



/*= General overrides
======================================================*/

@media screen and (min-width: 769px) and (max-width: 991px) {
	.wp-caption.col-md-3,.wp-caption.col-md-4,.wp-caption.col-md-6 { float: left; }
	.wp-caption.col-md-3 { /* 4 column fix ... force 2 column in mid range */
		width: 50% !important;
	}
	.wp-caption.col-md-4 { /* 3 column fix ... force 2 column in mid range */
		width: 50% !important;
	}
	.wp-caption.col-md-6 { /* 2 column fix ... force 2 column in mid range */
		width: 50% !important;
	}
}

*:not(.blog-header) > h1:first-child, 
*:not(.blog-header) > h2:first-child, 
*:not(.blog-header) > h3:first-child, 
*:not(.blog-header) > h4:first-child { /* override for bootstrap  */
    margin-top: 0px !important;
}
.panel-heading > a {
    display: inline-block !important;
    width: 100%;
}

.navbar-right { margin-right: 0px !important; }