/*
  Theme Name: In the Now
  Author: The Garden Agency
  Template: Divi
  Version: 1.0.0
*/

@import url(../Divi/style.css);

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

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

body {
	font-size: 15px;
}

.hidden {
	display: none;
}

/*
	Header
*/

#main-header {
	background: #ffce45;
	padding: 35px 0 0 0;
	box-shadow: none !important;
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
}

	#main-header.et-fixed-header {
		padding-bottom: 12px !important;
	}

	#logo {
		position: relative;
		left: 2px;
		padding-bottom: 30px;

		display: block;
		width: 484px;
		height: 115px;
		background: url(images/logo.gif) no-repeat;
	}

	.et_fixed_nav #logo {
		max-height: none;
	}

	.et-fixed-header #logo {
		width: 200px;
		height: 70px;
		background: url(images/logo-small.gif) no-repeat;
		padding-bottom: 0;
	}

	nav#top-menu-nav {
		padding-top: 66px;
		margin-right: 10px;
	}

		.et-fixed-header nav#top-menu-nav {
			padding-top: 64px;
			padding-top: 24px;
		}

		#top-menu a {
			font-family: sommet_regular;
			font-size: 18px; 
			color: #000;
		}

		#top-menu li {
			padding-right: 32px;
		}

			#top-menu li > a {
				padding-bottom: 51px;
			}

		#top-menu .menu-item-has-children > a:first-child:after { 
			transform:rotate(0deg); 
			-ms-transform:rotate(0deg); 
			-webkit-transform:rotate(0deg);  
			-moz-transform:rotate(0deg);  
			content: ' >\0000a0'; 
			top: 0;
			right: -2px;
			color: #000;
			font-size: 16px;
		}

			.nav li ul {
				top: 79px;
			}

				.et-fixed-header .nav li ul {
					top: 58px;
				}

	#top-menu li.current-menu-item > a {
		color: #fff;
	}

		#top-menu li li.current-menu-item > a {
			color: #000;
		}

	#et_top_search {
		margin-top: 75px;
		margin-right: 25px;
	}

		.et-fixed-header #et_top_search {
			margin-top: 37px;
		}

	.et-search-form {
		border-color: #00c2f1;
		top: 70px;
		right: -25px;
	}

		.et-fixed-header .et-search-form {
			top: 45px;
		}

	#et_search_icon {
		color: #000;
	}

		#et_search_icon:hover {
			color: #333;
		}

#clock {
	background: #000;
	color: #fff;
	font-family: sommet_thin;
	font-size: 130px;
	padding: 21px 0 12px 0;
	line-height: 1;
}

	#clock_date {
		position: relative;
		left: -10px;
	}

	#clock_time {
		color: #ffce45;
		position: relative;
		left: -14px;
	}


/* 
	Front page hero 
 */

#itn_home_banner {
	height: 454px; 
	position: relative;
}

	#itn_home_banner .half {
		height: 454px; 
		width: 50%;
		float: left;
	}

	#itn_home_banner .half.yellow {
		background-color: #ffce45;
	}

	#itn_home_banner .images,
	#itn_home_banner .text
	{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
	}

		#itn_home_banner .images .holder {
			margin: 0 auto;
			width: 694px;
			text-align: center;
		}

		#itn_home_banner .images img {
			display: block;
			float: left;
		}

	#itn_home_banner .text .holder {
		margin: 142px auto 0 auto;
		width: 360px;
		height: 168px;
		background: url(images/know-now.png) no-repeat;
		position: relative;
		left: -22px;
	}

#itn_home_blurbs {
	background-color: #e9e9e9;
	padding: 60px 0 65px 0;
	font-size: 15px;
}

	#itn_home_blurbs .half {
		width: 50%;
		float: left;
	}

	#itn_home_blurbs .left.half {
		text-align: right;
	}

	#itn_home_blurbs .half .holder {
		width: 500px;
		width: 80%;
		margin-left: 30px;
	}

		
		#itn_home_blurbs .left.half .holder {
			margin-left: auto;
			margin-right: 30px;
		}

/*
	Content
*/

h1 {
	font-family: sommet_regular;
	font-size: 21px;
	line-height: 1;
	text-transform: uppercase;
}

.et_pb_fullwidth_header {
	padding: 50px 0 0 0;
}

.et_pb_section {
	padding-top: 0;
}


/*
	Blog
*/

#BlogHolder .et_pb_row {
	padding-top: 0;
}

	/* sidebar */
	#BlogHolder .et_pb_column {
		padding-top: 80px;
		margin-right: 0;
	}

	#BlogHolder .et_pb_widget_area {
		border: 0;
	}

		#sidebar .et_pb_widget h4, 
		#BlogHolder .et_pb_widget_area h4
		{
			text-transform: uppercase;
			font-family: sommet_regular;
			padding-top: 2px;
			margin-bottom: 3px;
		}
		
		#sidebar .et_pb_widget ul li,
		#BlogHolder .et_pb_widget_area ul li
		{
			padding-bottom: 8px;
		}

	#sidebar .et_pb_widget,
	#BlogHolder .et_pb_column_1_4 .et_pb_widget_area_left .et_pb_widget
	{
		margin-bottom: 30px;
	}

	#sidebar .et_pb_widget li a:hover,
	#BlogHolder .et_pb_widget li a:hover 
	{
		color: #00c2f1;
	}

	/* content */
	#BlogHolder .et_pb_column_3_4 {
		border-left: 1px solid #e2e2e2;
		padding-left: 59px;
	}

	#BlogHolder article a.image_text {
		position: relative;
		display: block;
		margin-bottom: 16px;
	}

		#BlogHolder article .image_text img {
			display: block;
		}

		#BlogHolder article .image_text h2 {
			position: absolute;
			bottom: 0;
			background-color: #000;
			background-color: rgba(0, 0, 0, 0.5);
			color: #fff;
			font-family: sommet_regular;
			text-transform: uppercase;
			box-sizing: border-box;
			-webkit-box-sizing: border-box;
			-moz-box-sizing: border-box;
			width: 100%;
			padding: 23px 30% 20px 30px;
			font-size: 33px;
			margin: 0;
		}

	#left-area h1#comments {
		font-size: 25px;
		padding: 0;
		font-weight: normal;
	}

	h3#reply-title {
		font-size: 25px;
		font-family: sommet_regular;
		text-transform: uppercase;
	}

	textarea#comment {
		font-family: Raleway, Arial, sans-serif;
		font-size: 15px;
	}

	p.form-allowed-tags {
		display: none;
	}

/*
	Shared with Single, Blog page
*/
	#left-area .post-meta,
	.et_pb_post .post-meta
	{
		padding-bottom: 15px;
	}

	.from_categories {
		font-family: sommet_regular;
		color: #000;
		text-transform: uppercase;
		font-size: 21px;
		margin-bottom: 3px;

		display: none;
	}

		.from_categories a {
			color: #000;
		}

	.orig_cats {
		display: none;
	}

/*
 	Blog - single
*/

#left-area article.et_pb_post h1 {
	padding: 30px 25% 30px 0;
	font-size: 39px;
}

.et_pb_post .entry-content {
	padding-top: 0;
}

.et_pb_post .from_categories {
	margin-top: 30px;
}

.half {
	width: 50%;
	float: left;
}

	.half.right {
		text-align: right;
	}


/*
	Grid - Featured, Home
*/
.et_pb_blog_grid article .image_text h2 {
	padding: 0 90px 0 19px;
}
	
	.et_pb_blog_grid .from_categories {
		display: none;
	}


/* 
	Footer
*/

#footer-widgets .footer-widget .widget_recent_entries li {
	padding-bottom: 10px;
}

#footer-widgets .footer-widget li:before {
	border-color: inherit;
	border-width: 2px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}

/* replace google footer link with linkedin */
.et-social-google a:before { content: '\72'; }


/* media queries */
@media only screen and (max-width: 980px) {

	#main-header {
		padding-top: 7px;
	}

		#logo {
			width: 200px;
			height: 70px;
			background: url(images/logo-small.gif) no-repeat;
			padding-bottom: 0;
		}

		#et_top_search {
			margin-top: 17px;
			margin-right: 35px;
		}

		#et-top-navigation {
			padding-top: 13px;
		}

		.et-search-form {
			top: 49px;
			right: -65px;
		}

		.et_mobile_menu {
			top: 79px;
		}

	#BlogHolder .et_pb_column_3_4 {
		border-left: 0;
		padding-left: 0;
		padding-top: 0;
	}

	#BlogHolder article a.image_text h2 {
		position: relative;
	}
}

@media screen and (max-width: 782px) {

	#clock {
		font-size: 50px;
	}

		#clock span {
			left: 0;
		}

	#itn_home_banner {
		height: 262px;
		height: auto;
	}

		#itn_home_banner .images .holder {
			width: 75%;
		}

			#itn_home_banner .images img {
				width: 50%;
			}

		#itn_home_banner .half {
			height: 262px;
			height: 377px;
		}

		#itn_home_banner .text .holder {
			margin-top: 45px;
			margin-top: 95px;
		}

	#itn_home_blurbs .half {
		width: 100%;
	}

		#itn_home_blurbs .half.left {
			padding-bottom: 20px;
			text-align: left;
		}

	#itn_home_blurbs .half .holder {
		width: 100%;
		margin: 0;
		padding: 0 30px;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}

}


@media only screen and (max-width: 479px) {

	#main-header {
		height: 80px;
	}

		#logo {
			float: none;
		}

		#et-top-navigation {
			float: none;
		}
		
		#et_top_search {
			float: none;
			position: absolute;
			right: 8px;
			top: 15px;
		}

		.et-search-form {
			top: 48px;
			right: -43px;
		}

		#et_mobile_nav_menu {
			float: none;
		}

		.mobile_menu_bar {
			position: absolute;
			right: 30px;
			top: 20px;
		}




	#clock {
		font-size: 36px;
	}

	#itn_home_banner {
		height: 209px;
	}

		#itn_home_banner .images .holder {
			width: 320px;
		}
		
		#itn_home_banner .half {
			display: none;
		}

		#itn_home_banner .text .holder {
			margin-top: 55px;
			width: 200px;
			background-size: 100% auto;
			position: relative;
			left: -12px;
		}

	#itn_home_blurbs {
		padding: 30px 0;
	}

	/* grid */
	.et_pb_blog_grid article .image_text h2 {
		padding: 0;
	}

	.et_pb_blog_grid h2 {
		padding-left: 0;
	}

	.et_pb_blog_grid .et_pb_post .post-meta {
		padding: 0;
	}

	/* blog posts */
	#left-area article.et_pb_post h1 {
		padding: 0 0 20px 0;
	}
	
	#sidebar {
		border-top: 1px solid #e2e2e2;
		padding-top: 30px;
	}
}

