@import url("normalize.css");
@import url("simple-grid.css");

.nav {
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav li {
	display: inline-block;
}
.nav li a {
	text-decoration: none;
}
.nav li a:hover {
	text-decoration: underline;
}
.site-branding {
	height: 220px;
	background: url(../img/hex_background.jpg) top right no-repeat;
}
.site-branding .container .row [class^="col"] {
	margin-top: 0;
	margin-bottom: 0;
	text-align: center;
}
.site-branding [class^="col"] a[rel="home"] img {
	margin-top: 20px;
	height: 186px;
	width: 316px;
}
.site-branding .phone {
	background-image: url(../img/icon_phone.png);
	padding: 0.15em 0 0em 1.4em;
	font-size: 1.5em;
	background-position: left center;
	background-repeat: no-repeat;
	font-weight: 700;
    margin: 1em auto;
    color: #231f53;
	display: block;
	width: 130px;
    text-decoration: none;
}
.main-navigation {
	background: #231f53;
	clear: both;
	display: block;
	float: left;
	width: 100%;
}
/* #### Using Mega Menu plugin ####

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
	width: 90%;
    position: absolute;
    background: #231f53;
    left: 5%;
	z-index: 10;
}
.main-navigation ul li {
	display: block;
	color: #fff;
	position: relative;
}
.main-navigation ul li a {
	display: block;
	color: #fff;
	padding: 0.5em;
	font-size: 1.313em;
}

.main-navigation ul li.cart a {
	padding-left: 1.4em;
	background-position: 0 36%;
	background-repeat: no-repeat;
}
.main-navigation ul li.cart a {
	background-image: url(../img/icon_cart.png);
}
.main-navigation ul li#menu-item-112 {
	float: right;
}*/

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
	padding: 0 7px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item {
	float: none;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-type-custom:last-child {
	float: right;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item a.mega-menu-link[href^="tel"] {
	display: none;
}
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-left {
	margin: 13px 0 0 10px;
    height: 27px;
}

/*.main-navigation ul li a:hover {
	color: #858585;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul .sub-menu {
	position: static;
    width: auto;
    margin-left: 1em;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li a {
	width: 200px;
	font-size: 1.125em;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}*/

/* Small menu. */
/*.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}*/

.slider {
	display: none;
}

.home .home-form {
	display: none;
}

/*.main-navigation .container .row [class^="col"] {
	margin-top: 0;
	margin-bottom: 0;
}
.main-navigation .menu-toggle {
	background: none;
	padding: 0;
	margin: 5px 0;
	border: none;
	fill: #fff;
	outline: none;
}
.main-navigation .menu-toggle svg {
	margin-top: 5px;
}*/

.home #pl-6 > div { /* reset SO row margins */
	margin-right: 0;
	margin-left: 0;
}
.home .widget-title {
	font-size: 2rem;
	color: #6e6e6e;
	margin-bottom: 0;
}
div[id^="pg-6"] {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.home #hero {
	background: #f5f5f5;
	padding: 45px 0 25px 0;
}
.home #featured,
.home #featured-2 {
	background: #f1f1f1 url(../img/squares_bg.jpg) bottom center repeat-x;
	border-top: solid 1px #d5d5d5;
	border-bottom: solid 1px #d5d5d5;
	padding: 2em 0;
}
.home #featured .featured_item {
	background: #fff;
	border: solid 1px #dedede;
	padding: 1.625em;
	font-size: 1.125em;
	line-height: 1em;
}
.featured_item .so-widget-image {
	width: auto !important;
	height: auto;
}
.home #featured .featured_item:hover {
	border: solid 1px #b0b0b0;
	box-shadow: 0 0 10px #b0b0b0;
}
.home #featured .featured_item .widget-title {
	font-size: 1.125em;
	line-height: 1em;
}
/*.featured .row div[class^="col"] * {
	margin-top: 0;
}
.featured .featured-image {
	width: 100%;
	height: auto;
}
.featured p > a {
	float: left;
    display: block;
    padding: .25em 1em;
    background: #919292;
	color: #fff;
    text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
}*/

.serve_block.panel-cell-style {
    border: solid 1px #dedede;
}
.serve_block.panel-cell-style:hover {
	border: solid 1px #b0b0b0;
	box-shadow: 0 0 10px #b0b0b0;
}
.serve_block .widget_sow-image {
	margin-bottom: 0 !important;
}
.serve_block .widget_sow-editor {
	padding: 0 1.625em 1.625em;
}
.serve_block .widget_sow-editor .widget-title {
	margin: 0.75em 0 0.25em 0;
	text-transform: lowercase;
    font-size: 1.75rem;
	line-height: 1em;
}
.serve_block .widget_sow-editor p {
	margin: 0;
}
.serve_block .widget_sow-image .so-widget-image {
	width: 100%;
	height: auto;
}
.entry-content .banner {
	width: 100%;
	height: auto;
}
.home .entry-content {
	margin: 0;
}
.entry-content p,
.entry-content li {
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.4;
}
.home #recent_posts {
	background: #f1f1f1 url(../img/squares_bg.jpg) left bottom repeat-x;
	border-top: solid 1px #d5d5d5;
	border-bottom: solid 1px #d5d5d5;
	padding: 45px 0;
}

section .post_blocks .post_block {
	background: #fff;
	border: solid 1px #d5d5d5;
	height: 200px; /*temp*/
}
#testimonials .customer {
	font-size: 0.875em;
}
#testimonials .customer p {
	margin-top: 0;
	line-height: 1.25em;
}
#testimonials .customer .alignleft {
	margin-right: 0.5em;
}
#industries .so-panel div > .panel-grid {
	margin-right: 0;
	margin-left: 0;
}
#secondary {
	margin-top: 6em;
}
.widget-area .search-form {
	padding: 1em 0;
}
.widget-area .search-form input[type="submit"] {
	margin-top: 4px;
}
.wpcf7-form {
	padding: 1em;
	background: #e4e4e4;
}
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select,
.widget-area .search-form input {
	width: 99%;
	padding: 0.25em;
	box-sizing: border-box;
}
.widget-area form input[type="submit"] {
	padding: 0.5em 0;
	text-transform: uppercase;
}
.site-footer {
	padding: 2.5em 0 5.813em 0;
	background: #231f53;
	color: #858585;
}
.site-footer * {
	color: #858585;
}
.site-footer a {
	color: #fff;
}
.site-footer h3 {
	font-size: 1.5em;
}
.site-footer .container {
	width: 92%;
}
.site-footer .container .row {
	border-bottom: solid 2px #919292;
}
.site-footer .container .row:last-child {
	border: none;
} 
.site-footer .team .portrait {
	float: left;
	width: 46px;
	height: auto;
	border-radius: 43px;
	margin-right: 1em;
}
.site-footer .team strong {
	color: #e4e4e4;
	font-size: 1.125em;
	display: block;
}
.site-footer .contact a[href^="tel:"] {
	font-size: 1.5em;
	color: #858585;
	text-decoration: none;
}
.site-footer .widget-title {
	color: #a8a8a8;
	font-size: 1.5em;
}
.site-footer .nav {
	font-size: 0.75em;
}
.site-footer .nav li {
	font-size: 1.5em;
}
.site-footer .nav li:before{
	content:'\2022';
	margin: 0 0.5em;
}
.site-footer .nav li:first-child:before{
	content: none;
}

.site-footer .social .demo-icon {
	color: #fff;
	font-size: 1.25em;
}
.topics-menu li {
	line-height: 1.4;
}
.page-template-page_articles .entry-content {
	margin-top: 0;
}
.article-images {
	background: url(../img/hex_background.jpg) top right no-repeat;
}
.article-images a {
	text-decoration: none;
	color: #231f53;
	text-align: center;
    display: block;
	background: #fff;
	border: solid 1px #dedede;
}
.article-images div h3 {
	margin: 0 0 0.25em 0;
}
.article-images div img {
	width: 100%;
	height: auto;
}
.article-images a:hover {
	box-shadow: 0 0 10px #b0b0b0;
	border: solid 1px #b0b0b0;
}
/* ====================================
== BUBBLE WITH A BORDER AND TRIANGLE
** ==================================== */

/* THE SPEECH BUBBLE
---------------------------------------*/

.triangle-border {
  position:relative;
  padding: 1.7em;
  margin:1em 0;
  border:1px solid #d1d1d1;
  color:#000;
  background:#fff;
  /* css3 */
  -webkit-border-radius:0;
  -moz-border-radius:0;
  border-radius:0;
}
/* THE TRIANGLE
------------------------------------ */

.triangle-border:before {
  content:"";
  position:absolute;
  bottom:-20px; /* value = - border-top-width - border-bottom-width */
  left:43px; /* controls horizontal position */
  border-width:20px 17px 0;
  border-style:solid;
  border-color:#d1d1d1 transparent;
  /* reduce the damage in FF3.0 */
  display:block;
  width:0;
}

/* creates the smaller  triangle */
.triangle-border:after {
  content:"";
  position:absolute;
  bottom:-19px; /* value = - border-top-width - border-bottom-width */
  left:45px; /* value = (:before left 40) + (:before border-left 1) - (:after border-left 1) */
  border-width:19px 15px 0;
  border-style:solid;
  border-color:#fff transparent;
  /* reduce the damage in FF3.0 */
  display:block;
  width:0;
}

/****** Icon Font ******/

@font-face {
  font-family: 'fontello';
  src: url('../font/fontello_96444302.eot');
  src: url('../font/fontello_96444302.eot#iefix') format('embedded-opentype'),
       url('../font/fontello.woff') format('woff2'),
       url('../font/fontello_96444302.woff') format('woff'),
       url('../font/fontello_96444302.ttf') format('truetype'),
       url('../font/fontello_96444302-fontello.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed 
  margin-left: .2em;*/
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-gplus-squared:before { content: '\f0d4';} 
.icon-facebook-official:before { content: '\f230';}
.icon-twitter-squared:before { content: '\f304';}
.icon-linkedin-squared:before { content: '\f30c';}

/****** MEDIA BREAK POINTS ******/

@media screen and (max-width: 20em) {
	.site-branding [class^="col"] a[rel="home"] img.logo {
		width: 100%;
		height: auto;
	}
}

@media screen and (min-width: 45em) {
	.site-footer .row div[class^="col-"]:last-child {
		text-align: right;
	}
}

@media screen and (min-width: 780px) {
	#industries #short_row {
		padding: 0 17%;
	}
}

@media screen and (min-width: 61.938em) { /*991px*/
	.slider {
		display: block;
		text-align: center;
		height: 492px;
	}
	.site-branding .phone {
		display: none;
	}
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item {
		float: left;
	}
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item a.mega-menu-link[href^="tel"] {
		background-image: url(../img/icon_phone.png);
		padding: 3px 10px 0 33px;
		font-size: 1.5em;
		background-position: left center;
		background-repeat: no-repeat;
		color: #fff;
		display: block;
	}
	/*.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
		position: static;
		width: unset;
	}
	.main-navigation ul li {
		display: block;
		float: left;
	}
	.main-navigation ul#primary-menu > li:first-child a {
		padding-left: 0;
	}
	.main-navigation ul li a {
		display: block;
	}
	.main-navigation ul .sub-menu {
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
		float: left;
		position: absolute;
		top: 42px;
		left: -999em;
		z-index: 99999;
		background: #231f53;
		margin-left: 0;
	}*/

}

@media screen and (min-width: 71.25em) { /*1140px*/
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
		padding: 0 10px;
	}
	.main-navigation ul li a {
		padding: 0.5em 1em;
	}
	/*.entry-content .banner {
		width: initial;
	}*/
}

@media screen and (min-width: 1600px) {
	.home .home-form {
		display: block;
		position: absolute;
		top: 800px;
		right: 0;
		width: 260px;
		height: 700px;
	}
}