/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
#hero.has-background .overlay {
	opacity: .46;
}

/* Bring sub-menus above the page builder content on "Home Copy" page */
#pgc-8012-0-0 {
    z-index: 0;
}

/*Handle Page width*/
@media (min-width: 1200px) {
.container {
    width: 1000px;
}
}

.page-content, .entry-content, .entry-summary {
    margin: auto;
}

/*Remove date and author from blog posts*/
.hentry .entry-header .entry-meta,
.single .entry-header.primary-hentry .entry-meta {
	display: none;
}

/*Remove secondary date and metadata*/
.hentry .entry-secondary-meta {
	display: none;
}

.blog .site-main .hentry,
.archive .site-main .hentry {
	padding-left: 0;
}

.image-header-flexible {
	width: 100%;
	padding: 0;
}

#page .image-header {
	margin-top: 0;	
}

.image-header-flexible img {
	width: 100%;
}

/*center the main menu*/
#masthead .main-header-links {
	width: 100%;
	text-align: center;
}

#site-navigation {
	float: none !important;
}

/*Adjust width of and on homepage*/
#hero .hentry .entry-content {
	max-width: 90%;
}

/* Make center logo*/
#masthead #header-inner:not(.sticky-navigation) .site-branding,
#masthead #header-inner:not(.sticky-navigation) .site-logo {
	max-width: 70%;
	text-align: center;
	margin: 0 auto 3px;
	float: none !important;
}

/*To center page title*/
.page .entry-header.primary-hentry {
	text-align: center;
	padding-top: 6px;
	padding-bottom: 6px;
}

/*To reduce padding for Hero section*/
#hero {
	padding-top: 10px;
	padding-bottom: 10px;
}
/*Padding for Site header innner*/
#masthead .site-header-inner {
    padding-top: 10px;
    padding-bottom: 10px;
}

/*To reduce the padding of container section*/
.container {
	max-width: 1600px;
}

@media (min-width: 1200px) {
	.container {
		width: 1200px;
	}
}

/* To reduce padding between feaured page on homepage*/
.home .featured-page-two {
  padding-top: 15px;
  padding-bottom: 0;
}

.home .widget_google_translate_widget {
  padding-top: 15px;
  padding-bottom: 15px
}


/*Block quote params*/
blockquote{
	color:#dff442;
}

/* Hide Sharing button on all posts */
.sharedaddy.sd-sharing-enabled {
    display: none;
}
/*Homepage Button*/
#hero .hentry .entry-content a.primary-button {
	background: #ffffff;
	color: #222222;
	border: 1px solid #222222 !important;
}

#hero .hentry .entry-content a.primary-button:hover {
	background: #66d0e8;
	text-shadow: none;
	color: #222222;
}

/* For the Button*/
.button {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 6px;
	border: 0;
	font-weight: bold;
	letter-spacing: .0625em;
	text-transform: uppercase;
	background: #615f8b;
	color: #fff;
}

/* Add a rollover background colour but keep the text white */
.button:hover,
.button:focus,
.button:active {
	background: #b7b6cd;
	color: #fff;
}

/*hide a featured image in single views */
.single .site-main .hentry.has-post-thumbnail .entry-thumb,
.page:not(.home) .site-main .hentry.has-post-thumbnail .entry-thumb {
	display: none;
}

.page .site-main .grid-item .hentry.has-post-thumbnail .entry-thumb {
	display: block;
}

/*Hide the tag header text from search results */
.archive.tag .page-header {
	display: none;
}

.archive.tag .site-content {
	padding-top: 40px;
}

/*Hide the category header text from search results */
.archive.category .page-header {
	display: none;
}

.archive.category .site-content {
	padding-top: 40px;
}


body {
	padding-top: 54px;
}

@media (min-width: 992px) {
	body {
		padding-top: 56px;
	}
}

.portfolio-item {
	margin-bottom: 30px;
}

.pagination {
	margin-bottom: 30px;
}

/* custom code*/

/*For 4 column grid */
div.gallery-container {
    display: table;
    width: 100%;
}
div.gallery {
	border: 1px solid #ccc;
	text-align: center;
	min-height: 270px;
	
}

div.gallery:hover {
	border: 1px solid #777;
	opacity: .75;
}

div.gallery img {
	height: auto;
	max-height: 170px;
	width: auto;
	padding-top: 1em	
}

div.desc {
	padding: 15px;
	text-align: center;
}

* {
	box-sizing: border-box;
}

.responsive {
	padding: 6px;
	float: left;
	width: 24.99999%;
	
}

@media only screen and (max-width: 700px) {
	.responsive {
		width: 49.99999%;
		margin: 6px 0;
	}
}

@media only screen and (max-width: 500px) {
	.responsive {
		width: 100%;
	}
}

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

/*For 3 column grid */
div.three-col-gallery {
	border: 1px solid #ccc;
	text-align: center;
	min-height: 250px;
}

div.three-col-gallery:hover {
	border: 1px solid #777;
}

div.three-col-gallery img {
	height: auto;
	max-height: 170px;
	width: auto;
	padding-top: 1em
}

div.desc {
	padding: 15px;
	text-align: center;
}

* {
	box-sizing: border-box;
}
.responsive-three-col {
	padding: 6px;
	float: left;
	width: 32%;  
}
@media only screen and (max-width: 700px) {
	.responsive {
		width: 49.99999%;
		margin: 6px 0;
	}
}

@media only screen and (max-width: 500px) {
	.responsive {
		width: 100%;
	}
}

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

/* Align social icons in a row / 21433323-hc TT */
.textwidget img {
    display: inline-block;
}