/************************************
*                                   *
*       General Styles              *
*                                   *
*************************************/

body.use-cover-image-for-bg {
	background-size: cover;
}

.phone-number.widget .heading {
	display: none;
}

.phone-number.widget .phone-number-text {
	font-size: 28px;
	text-shadow: none;
}

iframe {
	padding: 0;
	border-width: 0 !important;
}

.content img, .entry-content img {
	margin: 5px;
}

/************************************
*       Sugar slider                *
*************************************/

body .sugar-slider {
	width: 90%;
	margin: 0 auto 30px;
}

@media only screen and (max-width: 800px) {
	body .sugar-slider {
		width: 85%;
	}
}

@media only screen and (max-width: 400px) {
	body .sugar-slider {
		width: 80%;
	}
}

/* Styling for special classes which may be set via the sugar slider shortcode's 'classes' attribute */

body .sugar-slider.sugar-slider-full-width {
	width: 100%;
}

body .sugar-slider.sugar-slider-hide-buttons .slick-prev, body .sugar-slider.sugar-slider-hide-buttons .slick-next {
	/* we need !important here because the slick javascript uses jquery's .hide() and .show(), which would override this if we didn't have !important */
	display: none !important;
}

/************************************
*                                   *
*       Custom Theme Styles         *
*                                   *
*************************************/

/************************************
*       All themes                  *
*************************************/

@media only screen and (max-width: 480px) {
  	/* make the button wide for mobile */
	#header .thrivehive-button {
		width: 84%;
		padding: 20px !important;
		text-align: center;
	}

	.site-header .thrivehive-button {
		width: 84%;
		padding: 20px !important;
		text-align: center;
	}
}

/* this needs to be after the 480 definition */
@media only screen and (max-width: 380px) {
	/* fixes layout of mobile TH CTA */
	#header .thrivehive-button {
		width: 80%;
	}

	.site-header .thrivehive-button {
		width: 80%;
	}
}

#header .thrivehive-button, .site-header .thrivehive-button {
	float: right;
}

/************************************
*       Adorable                    *
*************************************/

/* fixes submit button from being too pale to see */
.theme-name-adorable form.hiveform input.hivesubmit {
	color: #333;
}

.theme-name-adorable .phone-number.widget .phone-number-text {
	text-align: center;
}

.theme-name-adorable .phone-number + .featuredpage .page {
	padding-top: 15px;
}

.theme-name-adorable #header {
	background-origin: content-box;
	padding: 10px;
}

/* resizing the logo area to be bigger than the header right widget area so larger site titles fit on one line */
.theme-name-adorable #header #title-area {
	width: 60%;
}
.theme-name-adorable #header .header-widget-area {
	width: 40%;
}

@media only screen and (max-width: 800px) {
	.theme-name-adorable .menu-primary {
		border-bottom: #ddd double;
	}

	.theme-name-adorable #nav {
		border: none;
	}

	.theme-name-adorable #wrap #header {
		background-position: center center;
	}
}

@media only screen and (max-width: 980px) {
	.theme-name-adorable #header {
		width: 100%;
	}
}

@media only screen and (max-width: 970px) {
	.theme-name-adorable #header .wrap {
		width: 100%;
	}
}


/************************************
*       Agency Pro                  *
*************************************/

/* height overrides default */
.theme-name-agency-pro .site-header {
	height: 120px;
	min-height: 120px;
}

/* padding pushes content below header */
.theme-name-agency-pro .site-container {
	padding-top: 120px;
}

/* makes it so the logo isn't cropped */
.theme-name-agency-pro.header-image .site-title a {
	background-size: contain !important;
	height: 110px;
	min-height: 0;
}

/* resizing the logo area to be bigger than the header right widget area so larger site titles fit on one line */
.theme-name-agency-pro .site-header .title-area {
	width: 60%;
}
.theme-name-agency-pro .site-header .header-widget-area {
	width: 40%;
}

@media only screen and (max-width: 680px) {
  	/* fixes extra space */
	.theme-name-agency-pro .site-container {
		padding-top: 0;
	}
}

@media only screen and (max-width: 1023px) {
	.theme-name-agency-pro.header-image .site-title a {
		background-position: left top !important;
	}
}

/* needs to be below the 1023px media query for the background position of the logo */
@media only screen and (max-width: 480px) {
	.theme-name-agency-pro .site-header .title-area {
		width: 100%;
	}

	.theme-name-agency-pro .site-header .header-widget-area {
		width: 100%;
	}

  	/* sets this back to default */
	.theme-name-agency-pro.header-image .site-title a {
		background-position: center !important;
	}

	.theme-name-agency-pro .site-header .thrivehive-button {
		width: 95%;
	}
}

/************************************
*       Decor                       *
*************************************/

/* fixes submit button from being too pale to see */
.theme-name-decor form.hiveform input.hivesubmit {
	color: #333;
}
.theme-name-decor form.hiveform input.hivesubmit:hover {
	background: #eeeeee; /* Old browsers */
	background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* IE10+ */
	background: linear-gradient(to bottom, #eeeeee 0%,#cccccc 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */
}

.theme-name-decor.header-image #title a {
	background-size: contain !important;
	margin-bottom: 40px;
}

.theme-name-decor form.hiveform {
	width: 400px;
}

.theme-name-decor form.hiveform input[type=text] {
	margin-top: 0px;
}

/* resizing the logo area to be bigger than the header right widget area so larger site titles fit on one line */
.theme-name-decor #header #title-area {
	width: 60%;
}
.theme-name-decor #header .header-widget-area {
	width: 40%;
}

@media only screen and (max-width: 998px) {
	/* resizing the logo area to be bigger than the header right widget area so larger site titles fit on one line */
	.theme-name-decor #header #title-area {
		width: 100%;
	}
	.theme-name-decor #header .header-widget-area {
		width: 100%;
	}

	.theme-name-decor #header .thrivehive-button {
		float: none !important;
	  	display: inline-block;
	  	margin-left: auto;
	  	margin-right: auto;
	}
}

@media only screen and (max-width: 480px) {
	.theme-name-decor #header .thrivehive-button {
		float: right !important;
	  	margin-left: 0;
	  	margin-right: 0;
	}
}

/************************************
*       Enterpris                   *
*************************************/

/* hides big widget area: fixes https://www.pivotaltracker.com/story/show/68319426 */
.theme-name-enterprise #home-top-bg {
	display: none;
}

/************************************
*       Executive                   *
*************************************/

.theme-name-executive #header {
	padding: 10px;
	background-origin: content-box;
}

@media only screen and (max-width: 1023px) {
	.theme-name-executive #header {
		margin-bottom: 100px;
		position: relative;
		overflow: visible;
		background-position: center center;

	}

	.theme-name-executive #header .thrivehive-button {
		position: absolute;
		right: 20px;
		bottom: -100px;
	}
}

@media only screen and (max-width: 480px) {
	.theme-name-executive #header .thrivehive-button {
		width: 75%;
	}
}

@media only screen and (max-width: 380px) {
	.theme-name-executive #header .thrivehive-button {
		width: 66%;
	}
}

/************************************
*       Going Green Pro             *
*************************************/

.theme-name-going-green-pro .site-header .title-area {
	min-height: 10rem;
}

@media only screen and (max-width: 480px) {
	.theme-name-going-green-pro .site-header .thrivehive-button {
		width: 96%;
	}
}

@media only screen and (max-width: 380px) {
	.theme-name-going-green-pro .site-header .thrivehive-button {
		width: 95%;
	}
}

@media only screen and (max-width: 340px) {
	.theme-name-going-green-pro form.hiveform input[type=text], .theme-name-modernbloggerpro form.hiveform textarea {
		width: 190px;
	}
}

/************************************
*       Lifestyle Pro               *
*************************************/

@media only screen and (max-width: 480px) {
	.theme-name-lifestyle-pro .site-header .thrivehive-button {
		width: 94%;
	}
}

/* bugfix: submenu's side-menus on screens up to 767px have margin-left: 190px.
 * This does not match the width of the submenu, leading to a gap between them which
 * looks bad and makes the side-menu unreachable if using a mouse.  They also have a
 * different margin-top (-31px or -36px instead of the normal 44px for other screen sizes),
 * which makes the menus not line up.  This fixes these by setting to the normal values. */
@media only screen and (max-width: 767px) {
  .theme-name-lifestyle-pro .genesis-nav-menu .sub-menu .sub-menu,
  .theme-name-lifestyle-pro .nav-primary .sub-menu .sub-menu {
    margin: -44px 0 0 183px;
  }
}

/************************************
*       Magazine                    *
*************************************/

.theme-name-magazine #header {
    height: 115px;
    min-height: 0;
    background-size: contain !important;
}

@media only screen and (max-width: 703px) {
	.theme-name-magazine #header {
		margin-bottom: 100px;
		position: relative;
		overflow: visible;
	}

	.theme-name-magazine #header .thrivehive-button {
		position: absolute;
		right: 20px;
		bottom: -100px;
	}
}

@media only screen and (max-width: 480px) {
	.theme-name-magazine #header .thrivehive-button {
		width: 79%;
	}
}

@media only screen and (max-width: 380px) {
	.theme-name-magazine #header .thrivehive-button {
		width: 66%;
	}
}

/************************************
*       Metro Pro                   *
*************************************/


@media only screen and (max-width: 1023px) {

	.theme-name-metro-pro .site-header .site-title a {
		background-position: center center;
	}

}


@media only screen and (max-width: 480px) {
	.theme-name-metro-pro .site-header .thrivehive-button {
		width: 95%;
	}
}
.theme-name-metro-pro .backstretch img {
	opacity: 1 !important;
}

.theme-name-metro-pro.header-image .site-title a {
	max-width: none;
}

/************************************
*       Mindstream                  *
*************************************/

@media only screen and (max-width: 998px) {
	.theme-name-mindstream #header {
		margin-bottom: 100px;
		position: relative;
		overflow: visible;
	}

	.theme-name-mindstream #header .thrivehive-button {
		position: absolute;
		right: 20px;
		bottom: -100px;
	}
}

@media only screen and (max-width: 480px) {
	.theme-name-mindstream #header .thrivehive-button {
		width: 79%;
	}
}

@media only screen and (max-width: 380px) {
	.theme-name-mindstream #header .thrivehive-button {
		width: 66%;
	}
}

/************************************
*       Mocha                       *
*************************************/

@media only screen and (max-width: 1200px) {
	body.content-sidebar #content {
		width: 630px;
	}
}

@media only screen and (max-width: 998px) {
	.theme-name-mocha #header {
		margin-bottom: 100px;
		position: relative;
		overflow: visible;
	}

	.theme-name-mocha #header .thrivehive-button {
		position: absolute;
		right: 20px;
		bottom: -100px;
	}
}

@media only screen and (max-width: 710px) {
	body.content-sidebar #content {
		width: 100%;
	}
}

@media only screen and (max-width: 480px) {
	.theme-name-mocha #header .thrivehive-button {
		width: 79%;
	}
}

@media only screen and (max-width: 380px) {
	.theme-name-mocha #header .thrivehive-button {
		width: 66%;
	}
}

/************************************
*       Modern Blogger Pro          *
*************************************/

/* removes Logo.png as background image on .wrap, which was causing an overlapping background image */
.theme-name-modernbloggerpro .site-header .wrap {
	background-image: none;
}

.theme-name-modernbloggerpro form.hiveform input[type=text], .theme-name-modernbloggerpro form.hiveform textarea {
	width: 295px;
}

.theme-name-modernbloggerpro form.hiveform {
	width: 450px;
}

/* resizing the logo area to be bigger than the header right widget area so larger site titles fit on one line */
.theme-name-modernbloggerpro .site-header .title-area {
	width: 58%;
}
.theme-name-modernbloggerpro .site-header .header-widget-area {
	width: 38%;
}

@media only screen and (max-width: 400px) {
	.theme-name-modernbloggerpro form.hiveform input[type=text], .theme-name-modernbloggerpro form.hiveform textarea {
		width: 240px;
	}
}

@media only screen and (max-width: 998px) {
	.theme-name-modernbloggerpro .site-header .title-area {
		width: 100%;
	}
	.theme-name-modernbloggerpro .site-header .header-widget-area {
		width: 100%;
	}
}

@media only screen and (max-width: 480px) {
  	/* make the button wide for mobile */
	.theme-name-modernbloggerpro .site-header .thrivehive-button {
		width: 95%;
	}
}

/************************************
*       Modern Portfolio            *
*************************************/

@media only screen and (max-width: 998px) {
	.theme-name-modern-portfolio #header {
		margin-bottom: 100px;
		position: relative;
		overflow: visible;
		border: none;
	}

	.theme-name-modern-portfolio #header .thrivehive-button {
		position: absolute;
		right: 20px;
		bottom: -100px;
	}

	.theme-name-modern-portfolio #menu-main {
		border-top: 1px solid #222;
	}
}

@media only screen and (max-width: 480px) {
	.theme-name-modern-portfolio #header .thrivehive-button {
		width: 79%;
	}
}

@media only screen and (max-width: 380px) {
	.theme-name-modern-portfolio #header .thrivehive-button {
		width: 66%;
	}
}

/************************************
*       News                        *
*************************************/

@media only screen and (max-width: 998px) {
	.theme-name-news #header {
		margin-bottom: 100px;
		position: relative;
		overflow: visible;
	}

	.theme-name-news #header .thrivehive-button {
		position: absolute;
		right: 20px;
		bottom: -100px;
	}
}

@media only screen and (max-width: 480px) {
	.theme-name-news #header .thrivehive-button {
		width: 79%;
	}
}

@media only screen and (max-width: 380px) {
	.theme-name-news #header .thrivehive-button {
		width: 66%;
	}
}

/************************************
*       Outreach                    *
*************************************/

/* repeat overrides default,
   color needs to be preserved when image is set,
   and needs to default to no background image because the default image looks bad on mobile */
.theme-name-outreach #header {
	background-repeat: no-repeat !important;
	background-color: #1A1A1A !important;
	background-image: none;
}

@media only screen and (max-width: 998px) {
	.theme-name-outreach #header {
		padding-bottom: 120px;
		position: relative;
		overflow: visible;
	}

	.theme-name-outreach #header .thrivehive-button {
		position: absolute;
		right: 20px;
		bottom: 20px;
	}
}

@media only screen and (max-width: 480px) {
	.theme-name-outreach #header .thrivehive-button {
		width: 79%;
	}
}

@media only screen and (max-width: 380px) {
	.theme-name-outreach #header .thrivehive-button {
		width: 66%;
	}
}

/************************************
*       Prose                       *
*************************************/

.theme-name-prose #header {
	background-origin: content-box;
	padding: 10px 0;
}

@media only screen and (max-width: 998px) {
	.theme-name-prose #header {
		margin-bottom: 100px;
		position: relative;
		overflow: visible;
		background-position: center center;
		
	}

	.theme-name-prose #header .thrivehive-button {
		position: absolute;
		right: 20px;
		bottom: -100px;
	}
}

@media only screen and (max-width: 480px) {
	.theme-name-prose #header .thrivehive-button {
		width: 79%;
	}
}

@media only screen and (max-width: 380px) {
	.theme-name-prose #header .thrivehive-button {
		width: 66%;
	}
}

/************************************
*       Quattro                       *
*************************************/

/* fixes bug: hovering over main menu wouldn't let you select submenu item because of space in between them */
.theme-name-quattro #menu-main > .menu-item > .sub-menu {
	margin-top: 0;
}

/* fixes bug: there was a space between a submenu item and its own submenu to the right of it.  This space is
 * due to the 10px padding in the first submenu's ul element, since it's not part of the li, so when the mouse
 * is on the padding the li is no longer with :hover and the side-menu disappears.  This fix works around it by
 * moving the side-menu 10px to the left (left-margin 150px rather than 160px), so it's over the space. */
.theme-name-quattro .menu-primary li ul ul,
.theme-name-quattro .menu-secondary li ul ul,
.theme-name-quattro #header .menu li ul ul {
  margin: -36px 0 0 150px;
}
.theme-name-quattro #header {
	background-origin: content-box;
}

@media only screen and (max-width: 1200px) {
	.theme-name-quattro #header {
		margin-bottom: 100px;
		position: relative;
		overflow: visible;
		border: none;
		background-position: center center;
	}

	.theme-name-quattro #menu-main {
		border-top: 3px double #ccc;
	}

	.theme-name-quattro #header .thrivehive-button {
		position: absolute;
		right: 20px;
		bottom: -100px;
	}
}

@media only screen and (max-width: 480px) {
	.theme-name-quattro #header .thrivehive-button {
		width: 79%;
	}
}

@media only screen and (max-width: 380px) {
	.theme-name-quattro #header .thrivehive-button {
		width: 66%;
	}
}

/************************************
*       Sixteen 9 Pro               *
*************************************/

@media only screen and (max-width: 1264px) {
	/* clears up extra space */
	.theme-name-sixteen-nine-pro .site-header .widget_nav_menu {
		margin-bottom: 0;
	}

	.theme-name-sixteen-nine-pro .site-header .thrivehive-button {
		position: absolute;
		top: 10px;
		right: 20px;
	}
}

/* must follow the 1264px in order to overwrite the TH CTA position */
@media only screen and (max-width: 800px) {
	.theme-name-sixteen-nine-pro .site-header .thrivehive-button {
		position: static;
	}
}

@media only screen and (min-width: 1265px) {
	/* centers thrivehive button */
	.theme-name-sixteen-nine-pro .site-header .thrivehive-button {
		display: inline-block;
		margin: 0 auto 20px !important;
		float: none !important;
	}
}

@media only screen and (max-width: 480px) {
	.theme-name-sixteen-nine-pro .site-header .thrivehive-button {
		width: 95%;
	}
}

@media only screen and (max-width: 380px) {
	.theme-name-sixteen-nine-pro .site-header .thrivehive-button {
		width: 92%;
	}
}

/************************************
*       Streamline                  *
*************************************/

.theme-name-streamline .sidebar .social-widgets img {
	border-width: 0;
}


@media only screen and (max-width: 960px) {
	.theme-name-streamline #header {
		margin-bottom: 100px;
		position: relative;
		overflow: visible;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		background-position: center center;
	}

	.theme-name-streamline #header .thrivehive-button {
		position: absolute;
		right: 20px;
		bottom: -100px;
	}
}

@media only screen and (max-width: 480px) {
	.theme-name-streamline #header .thrivehive-button {
		width: 79%;
	}
}

@media only screen and (max-width: 380px) {
	.theme-name-streamline #header .thrivehive-button {
		width: 66%;
	}
}

/************************************
*                                   *
*    Parallax Pro				    *
*                                   *
*************************************/
.theme-name-parallax-pro .site-inner {
    margin-top: 200px;
}

.theme-name-parallax-pro .site-title a {
/*	margin: 12px 0;*/
}


/************************************
*                                   *
*    General Site Media Queries     *
*                                   *
*************************************/

@media only screen and (max-width: 340px) {
	.phone-number.widget .phone-number-text {
		font-size: 24px;
	}
}

@media only screen and (max-width: 1024px) {
	.phone-number.widget .heading {
		display: block;
		font-size: 18px;
	}
}

@media only screen and (min-width: 1024px) {
	.phone-number.widget .heading {
		display: block;
		font-size: 18px;
	}
}

.widget-wrap a {
	margin: 0 0 10px 10px;
	display: inline-block;
}

/*
	Logo sizing
 */
#header, .header-image .site-title a, .site-header .title-area {
	background-position: left center;
	background-size: contain;
}
/* todo: finish this
@media only screen and (max-width: 998px) {
	.site-header aside.header-widget-area.widget-area  {
		text-align: center;
	}
	aside.header-widget-area > * {
		display: inline-block;
		float: none !important;
	}
}*/