/*
Theme Name: FLSC
Version: 1.0.1
Description: Custom brochure style theme developed for FLSC based off of Divi theme.
Author: Baytek Systems
Author URI: http://bayteksystems.com
Template: Divi
Text Domain: FLSC
Domain Path: /languages
*/
@import url("../Divi/style.css");

/* =Global
----------------------------------------------- */
h1 {
	color: #373737;
	font-size: 26px;
	font-weight: 700;
}
h2 {
	color: #373737;
	font-size: 20px;
	font-weight: 700;
}
.s1{
	line-height: 1.2em;
}
h3 {
	color: #373737;
	font-size: 16px;
	font-weight: 700;
	padding-bottom: 0.6em;
}
h4 {
	color: #373737;
	font-size: 14px;
	font-weight: 700;
}
body {
	font-size: 16px;
	line-height: 1.4em;
}
p {
	padding-bottom: 1.4em;
	line-height: 1.4em;
}

.et_pb_row {
	padding: 30px 0 0 0;
}

#HomeIntro {
	padding: 30px 0;
}
#HomeIntro .et_pb_text {
	margin-bottom: 10px;
}

#main-content ul, #main-content ol {
	/*margin-bottom: 1.4em;*/
}

/* =Header
----------------------------------------------- */
#main-header nav#top-menu-nav {
	padding-top: 30px;
}
#top-header .container {
	padding-top: 0;
}
#et_top_search {
	margin: 34px 0 0 22px;
}
#et_top_search form.gsc-search-box {
	width: auto;
}
#main-header {
	padding: 0 0 0 0;
	-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

/* =Search Results
----------------------------------------------- */
.entry-content .et_pb_column.search-results {
	padding: 40px 0 30px;
}
.entry-content .gsc-control-cse,
.entry-content .gsc-control-cse .gsc-table-result {
	font-family: 'Open Sans', Arial, sans-serif;
}
.entry-content .gsc-control-cse .gsc-table-result .gs-title {
	font-family: 'Droid Serif', Georgia, "Times New Roman", serif;
    text-decoration: none;
    font-size: 20px;
    line-height: 1.2em;
    font-weight: 700;
    height: auto;
}
.entry-content .gsc-control-cse .gsc-table-result .gs-title * {
	font-size: inherit;
}
.entry-content .gsc-control-cse {
	padding: 0;
}
.entry-content .gsc-control-cse table {
	border: none;
	margin: 0;
}
.entry-content tr td.gsc-result-info-container,
.entry-content .gsc-results table tr td { 
	border: none;
}
.entry-content tr td .gsc-result-info { 
	padding: 0;
	margin: 0;
}
.entry-content table.gsc-resultsHeader {
	display: none;
}
.entry-content .gsc-control-cse .gsc-result {
	padding: 0;
	margin-bottom: 2em;
}

/* =Mobile Resolution
----------------------------------------------- */

#page-title{
	background-color: #0079c2;
	font-size: 14px;
}
#page-title .et_pb_row h1{
	padding-bottom: 0;
}
#page-title .et_pb_row a{
	color: #FFFFFF;
	font-weight: bold;
}

/* =Menus
----------------------------------------------- */
.et_nav_text_color_light, .et_nav_text_color_light #et-secondary-nav a, .et_nav_text_color_light .et-social-icon a, .et_nav_text_color_light #et-info a {
	color: #e47722;
	text-transform: uppercase;
	font-weight: 700;
}
.et_nav_text_color_light #et-secondary-nav a:hover, .et_nav_text_color_light .et-social-icon a:hover, .et_nav_text_color_light #et-info a:hover {
	color: #c26115 !important;
}
#et-secondary-menu {
	float: right;
	padding-bottom: 0;
}
#top-menu li {
	font-size: 16px;
}
#top-menu li > a {
	padding-bottom: 0;
}
#et-secondary-nav {
	padding-top: 10px;
}

#full-width-header{
	background-color:#000;
}

.fw-container, .fw-container .et_pb_row{
	width: 940px;
	margin: 0 auto;
	position: relative;
}
.fw-container .et_pb_row .et_pb_column{
	padding-left:200px;
	box-sizing:border-box;
}
#full-width-header ul{
}
#full-width-header li{
	float:right;
}
#full-width-header li a{
	color: #fff;
	padding: 0 20px;
	font-weight: bold;
	text-transform: lowercase;
}
.full-width-section h1, .full-width-section h2, .full-width-section h3{
	color: #fff;
	font-family: Tahoma, Verdana, Geneva, 'sans-serif';
	font-weight: normal;
}
.int-conf-head{
	padding-top: 20px;
	padding-bottom: 0;
	font-size: 16px;
}
.int-conf-title{
	opacity: 0.5;
	text-align: right;
	font-size: 40px;
	text-transform: uppercase;
	padding-top: 10px;
	padding-bottom: 10px !important;
}
/* =Slider
----------------------------------------------- */
#HomeSlider .et_pb_container {
	height: 460px;
	width: 350px;
	background-color: rgba(0,0,0,0.6);
	float: right;
	margin-right: 100px;
}
#HomeSlider .et_pb_slide_description {
	padding: 80px 20px;
	padding-top: 60px;
}
#HomeSlider h2 {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.3em;
}
#HomeSlider p {
	font-weight: 600;
	font-size: 16px;
	line-height: 1.1em;
}
#HomeSlider .et-pb-controllers {
	position: absolute;
	bottom: 20px;
	right: 0;
	width: 350px;
	text-align: center;
	z-index: 10;
	margin-right: 100px;
	left: inherit;
}

#HomeSlider a.et_pb_more_button {
	border-radius: 5px;
	padding: 6px 24px 6px 14px !important;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	color: #fff !important;
	line-height: 1.8em;
	background: #009fff; /* Old browsers */
	background: -moz-linear-gradient(top,  #009fff 0%, #0079c2 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#009fff), color-stop(100%,#0079c2)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #009fff 0%,#0079c2 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #009fff 0%,#0079c2 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #009fff 0%,#0079c2 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #009fff 0%,#0079c2 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009fff', endColorstr='#0079c2',GradientType=0 ); /* IE6-9 */
	border: none;
	box-shadow: 0 1px 1px 1px rgba(0,0,0,.3);

}
#HomeSlider a.et_pb_more_button:hover, .et_pb_more_button:hover { 
	border: none;
	padding: 6px 24px 6px 14px !important;
	box-shadow: 0 1px 1px 1px rgba(0,0,0,.5);
	opacity: 1;
	background: rgba(0,121,194,1);
	-moz-transition: all 0.0s;
	-webkit-transition: all 0.0s;
	transition: all 0.0s;
}
#HomeSlider a.et_pb_more_button:after {
	font-size: inherit; line-height: inherit; content:""; opacity: inherit; position: absolute; margin-left: 0; -moz-transition: all 0.0s; -webkit-transition: all 0.0s; transition: all 0.0s; top: 0; right: 0;
}
#HomeSlider .et_pb_promo_button:hover:after, a.et_pb_more_button:hover:after {
	opacity: inherit; 
}

#HomeSlider .et_pb_container a::after {
    content: url(/wp-content/uploads/2014/10/arrow.png);
    margin-right: 8px;
	margin-top: 7px;
}

/* =Home News
----------------------------------------------- */
#HomeNews {
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	text-align: center;
	height: 120px;
	overflow: hidden;
	/*z-index: 999999;*/
}
#HomeNews h1 {
	margin-top: 20px;
}

#HomeNews h2 {
	margin-top: 0;
	/*margin-bottom: 1000px;*/
	font-family: 'Source Sans Pro', Helvetica, Arial, Lucida, sans-serif;
	font-size: 22px;
	font-weight: 500;

}
/*#HomeNews a::after {
	content: url(/wp-content/uploads/2014/10/arrow.png);
    margin-right: 4px;
	margin-top: 7px;
}*/
#HomeNews.et_pb_section {
	padding: 0;
}
#HomeNews .et_pb_text {
	margin-bottom: 0;
}
#HomeNews .et_pb_row {
	padding-top: 4px;
}

/* =Home 3 Boxes
----------------------------------------------- */

#HomeBoxes a {
	color: inherit;
}
#HomeBoxes a.et_pb_promo_button {
	border-radius: 5px;
	padding: 6px 24px 6px 14px !important;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	color: #fff !important;
	line-height: 1.8em;
	box-shadow: 0 1px 1px 1px rgba(0,0,0,.3);
	margin-bottom: 30px;
}

#HomeBoxes .et_pb_promo_button:hover { 
	padding: 6px 24px 6px 14px !important;
	box-shadow: 0 1px 1px 1px rgba(0,0,0,.5);
	-moz-transition: all 0.0s;
	-webkit-transition: all 0.0s;
	transition: all 0.0s;
}
#HomeBoxes .et_pb_promo_button:after {
	font-size: inherit; line-height: inherit; content:""; opacity: inherit; position: absolute; margin-left: 0; -moz-transition: all 0.0s; -webkit-transition: all 0.0s; transition: all 0.0s; top: 0; right: 0;
}
#HomeBoxes .et_pb_promo_button:hover:after, a.et_pb_promo_button:hover:after {
	opacity: inherit; 
}

#HomeBoxes a::after {
    content: url(/wp-content/uploads/2014/10/arrow.png) !important;
    margin-right: 8px;
	margin-top: 7px;
}

#HomeBoxes.et_pb_section {
	padding: 0;
}

#HomeBoxes .et_pb_row {
	padding: 0;
}
#HomeBoxes .et_pb_promo {
	margin-bottom: 0;
}

#HomeBoxes .NCLP {
	background-image: url(/wp-content/uploads/2014/10/nclp_bg.jpg);
	background-size: cover;
}

#HomeBoxes .NFLP {
	background-image: url(/wp-content/uploads/2014/10/nflp_bg.jpg);
	background-size: cover;
}

#HomeBoxes .CanLII {
	background-image: url(/wp-content/uploads/2014/10/canlii_bg.jpg);
	background-size: cover;
}

#HomeBoxes .ModelCode {
	background-image: url(/wp-content/uploads/2015/11/modelcode_bg.jpg);
	background-size: cover;
}

#HomeBoxes {
	height: 250px;
	overflow-y: hidden;
	position: relative;
}
#HomeBoxes div.et_pb_row:first-child {
	position: absolute;
	top: 0;
	z-index: 2;
}
#HomeBoxes div.et_pb_row:first-child div{
	text-align: center;
}
#HomeBoxes div.et_pb_row:first-child div img{
	display: inline;
	vertical-align: top;
}
#HomeBoxes h2 {
	padding-top: 75px;
	padding-left: 20%;
	padding-right: 20%;
	padding-bottom: 0;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	line-height: 1.1em;
}

#HomeBoxes .et_pb_column_1_3 {
	width: 33.33%;
	margin-right: 0;
}
#HomeBoxes .et_pb_column_1_4 {
	width: 25.00%;
	margin-right: 0;
}


#HomeBoxes .et_pb_row {
	margin: 0;
	width: 100%;
}

#HomeBoxes .et_pb_row .et_pb_column {
	position: relative;
}

#HomeBoxes .et_pb_promo_description {
	padding-bottom: 10px;
}
#HomeBoxes .et_pb_row .et_pb_column > div {
	min-height: 250px;
}

@media only screen and (max-width: 980px) {
	#HomeBoxes .et_pb_column {
		padding-bottom: 0;
	}
}

/* =Footer
----------------------------------------------- */
#footer-widgets h4 {
	color: #fff !important;
}

#footer-widgets hr {
	color: #646464;
	background-color: #646464;
	height: 1px;
	border: 0;
}

#footer-widgets {
	font-size: 12px;
	line-height: 1.2em;
}

#footer-widgets {
	padding-top: 40px;
}

#footer-widgets .fwidget {
	padding-bottom: 40px;
}

.footer-widget {
	width: 320px;
	margin-right: 60px;
	margin-bottom: 0;
}

.footer-widget:last-child {
	margin-right: 0;
}

.footer-widget:last-child a {
	color: #e47722 !important;
	font-weight: 700;
}

#footer-widgets .footer-widget li:before {
	border-radius: 0;
	border-style: none;
	border-width: 0;
}

#footer-widgets .footer-widget li {
padding: 0;
position: relative;
}

#footer-widgets .et_pb_widget li a:hover {
	color: #e47722 !important;
}

#footer-info {
	text-transform: uppercase;
	font-size: 12px;
	float: left !important;
}

@media only screen and (max-width: 1110px) {
	.footer-widget {
		width: 280px;
		margin-right: 60px;
		margin-bottom: 0;
	}
}

/* =Content
----------------------------------------------- */
#LandingPage {
	font-size: 14px;
}

#LandingPage.et_pb_section {
	padding: 0;
}
#LandingPage {
	padding: 0;
}

#LandingPage>.et_pb_row>.et_pb_column_3_4, .sidebar-template {
	padding-top: 40px;
	padding-bottom: 30px;
	border-right: 1px solid #e2e2e2;
	margin-right: 0;
	padding-right: 30px;
}

#LandingPage>.et_pb_row, #LandingPage>.et_pb_column>.et_pb_section>.et_pb_row:first-child{
	padding-top: 0px;
}

.LPSideBar {
	padding-top: 40px;
	padding-left: 30px;
}
#LandingPage .et_pb_image {
	margin-bottom: 10px;
}

#LandingPage .et_pb_text {
	margin-bottom: 10px;
}

.LPSideBar hr {
	color: #d6d6d6;
	background-color: #d6d6d6;
	height: 1px;
	border: 0;
	margin-top: 20px;
	margin-bottom: 20px;
}

#sidebarContainer{
	margin-right: 0px;
}
.LPSideBar {
	font-family: 'Droid Serif', Georgia, "Times New Roman", serif;
	line-height: 1.3em;
	font-size: 16px;
	font-weight: 700;
	margin-right: 0;
	float: left;
}

.LPSideBar a {
	font-family: 'Source Sans Pro', Helvetica, Arial, Lucida, sans-serif;
	font-size: 14px;
	font-weight: 500;
}

.LPSideBar .menu a {
	color: #373737;
}


.LPSideBar a:hover {
	color: #e47722;
}

.LPSideBar li {
	margin-top: 5px;
	margin-bottom: 5px;
}

.LPSideBar .textwidget img {
	margin-top: 10px;
}

.LPSideBar .textwidget .display-posts-listing span.date {
	display: block;
	font-weight: normal;
	font-size: 12px;
	font-style: italic;
	margin-top: 5px;	
}

#LandingPage .post-date {
	font-family: 'Source Sans Pro', Helvetica, Arial, Lucida, sans-serif;
	font-size: 14px;
	font-style: italic;
	font-weight: 500;
}

.LPSideBar {
	border-left: 0;
}

#IntroText {
	font-size: 16px;
}
.main-content{
	margin: 0 auto;
	position: relative;
}
.main-content .et_pb_section,.main-content .et_pb_section .et_pb_row{
	padding-top: 0;
}

.int-headerimage {
	width: 100%;
	height: 280px;
	background-size: cover;
	margin-bottom:20px;
	background-position: center;
}

.fw-container .et_pb_row .et_pb_column {
		padding: 0 10%;
	}

/* 
Full page content (no sidebar/padding)
*/

#LandingPage.full-page-content .et_pb_column_3_4{
	width: 100%;
	border-right: none;
	padding-right: 0;
}
@media only screen and (max-width: 1020px) {
	.fw-container {
		width: 100%;
	}
	.fw-container .et_pb_row {
		width: 100%;
	}
}

@media only screen and (max-width: 767px) {
	.int-headerimage {
		height: 250px;
	}
}

@media only screen and (max-width: 480px) {
	.int-headerimage {
		height: 200px;
	}
	.int-conf-title {
		font-size: 24px;
	}
	.int-conf-head {
		font-size: 12px;
	}	
}

/* =Sidebar w/ Page Builder
----------------------------------------------- */
.page-template-page-template-sidebar-php .et_pb_section { 
	padding: 0 0 50px;
}
.page-template-page-template-sidebar-php .et_pb_section:first-child .et_pb_row:first-child {
	padding: 0;
}
.page-template-page-template-sidebar-php .et_pb_row { 
	width: 100%;
}
.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_1_2,
.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_1_4,
.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_3_4,
.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_1_3,
.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_2_3 {
	-webkit-box-sizing:border-box;
	   -moz-box-sizing:border-box;
	        box-sizing:border-box;
	margin-right: 4%;
}
.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_1_2:last-child,
.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_1_4:last-child,
.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_3_4:last-child,	
.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_1_3:last-child,	
.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_2_3:last-child {
	margin-right: 0;
}
.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_1_2 { width: 48%; }
.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_1_4 { width: 22%; }
.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_3_4 { width: 74%; }
.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_1_3 { width: 30.666%; }
.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_2_3 { width: 65.333%; }

@media only screen and (max-width: 479px) {
	.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_1_2,
	.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_1_4,
	.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_3_4,	
	.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_1_3,	
	.page-template-page-template-sidebar-php .et_pb_row .et_pb_column_2_3 {
		width: 100%;
		margin-right: 0;
	}	
}


/* =Form Elements
----------------------------------------------- */


/* =Widgets
----------------------------------------------- */


/* =Footer
----------------------------------------------- */
#footer-bottom .container {
	text-align: center;
}
#footer-info {
	float: none;
}
#footer-bottom .container {
	padding: 15px 0 25px;
}
#footer-info {
	color: #fff;
	padding-bottom: 0;
}
#footer-info a {
color: #CFCFCF;
}
#menu-footer-menu, #menu-footer-menu-fr{
	padding: 0;
	text-align: right;
}
#menu-footer-menu li, #menu-footer-menu-fr li{
	padding-right: 0;
}
#menu-footer-menu li a, #menu-footer-menu-fr li a{
	color: #e47722;
}
#menu-footer-menu li:before, #menu-footer-menu-fr li:before{
	content: "|";
	color: #FFFFFF;
	margin-left: 2px;
	margin-right: 5px;
	font-size: 13px;
}
#menu-footer-menu li:first-child:before, #menu-footer-menu-fr li:first-child:before{
	content: "";
}
#menu-footer-menu li:last-child:after, #menu-footer-menu-fr li:last-child:after{
	content: " |";
	color: #FFFFFF;
	margin-left: 2px;
	margin-right: 5px;
	font-size: 13px;
}
/* =b-icons
----------------------------------------------- */
@font-face {
	font-family: 'b-icons';
	src:url('fonts/b-icons.eot?-1b1iyl');
	src:url('fonts/b-icons.eot?#iefix-1b1iyl') format('embedded-opentype'),
		url('fonts/b-icons.woff?-1b1iyl') format('woff'),
		url('fonts/b-icons.ttf?-1b1iyl') format('truetype'),
		url('fonts/b-icons.svg?-1b1iyl#b-icons') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Use the following CSS code if you want to use data attributes for inserting your icons */
[data-icon]:before {
	content: attr(data-icon);
	font-family: 'b-icons';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
/* Generic class selector option - slower */
[class^="icon-"], [class*=" icon-"] {
	font-family: 'b-icons';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-btk-logo:before {
	content: "\62"; /* b */
}
.icon-googleplus:before {
	content: "\67"; /* g */
}
.icon-googleplus2:before {
	content: "\47"; /* G */
}
.icon-googleplus3:before {
	content: "\a9"; /* © */
}
.icon-facebook:before {
	content: "\66"; /* f */
}
.icon-facebook2:before {
	content: "\46"; /* F */
}
.icon-facebook3:before {
	content: "\192"; /* ƒ */
}
.icon-instagram:before {
	content: "\69"; /* i */
}
.icon-twitter:before {
	content: "\74"; /* t */
}
.icon-twitter2:before {
	content: "\54"; /* T */
}
.icon-twitter3:before {
	content: "\2020"; /* † */
}
.icon-feed:before {
	content: "\72"; /* r */
}
.icon-feed2:before {
	content: "\52"; /* R */
}
.icon-feed3:before {
	content: "\ae"; /* ® */
}
.icon-youtube:before {
	content: "\79"; /* y */
}
.icon-youtube2:before {
	content: "\59"; /* Y */
}
.icon-soundcloud:before {
	content: "\73"; /* s */
}
.icon-soundcloud2:before {
	content: "\53"; /* S */
}
.icon-linkedin:before {
	content: "\6c"; /* l */
}
.icon-pinterest:before {
	content: "\70"; /* p */
}
.icon-pinterest2:before {
	content: "\50"; /* P */
}
.icon-home:before {
	content: "\68"; /* h */
}
.icon-tumblr:before {
	content: "\31"; /* 1 */
}
.icon-tumblr2:before {
	content: "\21"; /* ! */
}
.icon-phone:before {
	content: "\32"; /* 2 */
}
.icon-mail:before {
	content: "\33"; /* 3 */
}
.icon-mail2:before {
	content: "\23"; /* # */
}
.icon-mail3:before {
	content: "\a3"; /* £ */
}
.icon-cart:before {
	content: "\34"; /* 4 */
}
.icon-search:before {
	content: "\35"; /* 5 */
}
.icon-lock:before {
	content: "\36"; /* 6 */
}
.icon-menu:before {
	content: "\37"; /* 7 */
}

/* hide small logo for large views */
#logo_small{
	max-height: 63px;
	margin-top: 10px;
	margin-bottom: 10px;
	display: none;
}

/*align drop down menus with bottom of header*/
.sub-menu{
	top: 50px !important;
}


/*Change list bullit style*/
.et_pb_column .et_pb_text ul, .main-block-content ul, #left-area ul{
	list-style: none !important;
}
.et_pb_column .et_pb_text li:before, .main-block-content ul li:before, #left-area ul li:before{
    content: "• ";
    color: #0079c2; 
}
.et_pb_column .et_pb_text li, .main-block-content ul li, #left-area ul li{
	text-indent: -.5em; /*Needs to be -0.5em to line up proper*/
	padding-left: 1em; 
}
.main-block-content ul>li>div{
	display: inline;
}


/*sidebar seperators*/
.LPSideBar .widget_text, .LPSideBar .widget_archive, .LPSideBar .widget_baytek_archives_widget{
	padding-top: 20px;
	border-top: 1px solid #d6d6d6;
}

/*align footer columns with news buttons */
#main-footer .container{
	width: 95%;
	max-width: 1080px;
}
.footer-widget, .footer-widget:last-child, .footer-widget:nth-child(2n){
	width: 25%;
	margin-right: 0px;
	margin-left: 7%;
}

/*shrink height of landing pages header*/
.et_pb_fullwidth_header{ 
	padding: 0px;
	padding-top: 25px; 
	padding-bottom: 15px; 
}

.et-pb-arrow-prev {
	left: 0px !important;
}
.et-pb-arrow-next {
	right: 0px !important;
}


/*sidebar template style*/
.sidebar-template>.et_pb_section>.et_pb_row{
	width: 100%;
}
.sidebar-template>.et_pb_section{
	padding: 0;
}
.sidebar-template .et_pb_column_1_4{
	width: 20%;
	margin-right: 5%;
}
.sidebar-template .et_pb_column_1_2{
	width: 45%;
	margin-right: 5%;
}
.sidebar-template .et_pb_column_3_4{
	width: 70%;
	margin-right: 5%;
}
.sidebar-template .et_pb_column_4_4{
	width: 95%;
	margin-right: 0;
}
.sidebar-template .et_pb_column_2_3{
	width: 58%;
	margin-right: 5%;
}
.sidebar-template .et_pb_column_1_3{
	width: 28%;
	margin-right: 5%;
}

.blurb-test{
	background-color: #444;
}


/*news slider*/
.blog-slider{
	height: 150px;
	margin-top: -76px;
}
.blog-slider .et_pb_slides{
	margin-top: 70px;
}
.blog-slider .et_pb_slide{
	box-shadow: none;
	-webkit-box-shadow: none;
}
.blog-slider .et-pb-slider-arrows a{
	width: 48px;
	opacity: 1 !important;
}


/*LANGUAGE TOGGLE*/
.container #lang_sel_list li .lang_sel_sel{
	display: none;
}
.container #lang_sel_list.lang_sel_list_vertical a.lang_sel_other{
	color: #e47722;
	background-color: transparent;
	border: none;
	font-family: 'Source Sans Pro', Helvetica, Arial, Lucida, sans-serif;
	font-size: 12px;
	padding-left: 15px;
	line-height: 18px;
}
.container #lang_sel_list.lang_sel_list_vertical a.lang_sel_other:hover{
	color: #c26115 !important;
	background-color: transparent;
}

.container #lang_sel_list li{
	float: right;
	width: 65px;
	top: 10.5px;
	line-height: 16px;
}

.container #lang_sel_list.lang_sel_list_vertical ul {
	border: none;
}

.container #lang_sel_list.lang_sel_list_vertical{
	display: inline;
}

/*Language toggle footer*/
#footer-bottom .container #lang_sel_list.lang_sel_list_vertical a.lang_sel_other{
	font-size: 14px;
	padding-left: 0px;
	padding-top: 1px;
}

#footer-bottom .container #lang_sel_list.lang_sel_list_vertical a.lang_sel_other:hover{
	color: #e47722 !important;
}

#footer-bottom .container #lang_sel_list li{
	top: 2px;
}

/*Content Spacing*/
.main-block-content p:last-of-type {
	padding-bottom: 1.4em;
}
/*.et_pb_text p{
	padding-bottom: 0px;
}*/
/*.et_pb_text p + h2{
	padding-top: 1.4em;
}*/
/*No Padding Block*/
.no-padding-block p{
	padding-bottom: 0px;
}
.main-block-content p + ul{
	margin-top:-1em;
}
.single-post .main-block-content h2, .category .main-block-content h2{
	margin-top: 0px;
}
.entry-content tr td {
	padding: 5px 10px;
}

/*list padding*/
ul.menu li, #main-content ul li, #main-content ol li{
	margin-top: 5px;
	margin-bottom: 10px;
	line-height: 16px;
}
ul.menu > li:first-child, #main-content ul > li:first-child, #main-content ol > li:first-child{
	margin-top: 0px;
}
ul.menu > li ul > li:first-child, 
#main-content ul > li ul > li:first-child, 
#main-content ol > li ol > li:first-child{
	margin-top: 5px;
}
.entry-content ul ul {
	padding-bottom: 0;
}

#main-content ol > li {
    list-style-position: inside;
    text-indent: -1em;
    padding-left: 1em;
}

/*IE 11 fix*/
#page-container #top-header{
	height: 31px;
	position: absolute;
	left: 0px;
	width: 100%;
	background-color: transparent;
}
#main-header{
	padding-top: 20px;
}

/*archive nav*/
.pagination .screen-reader-text, .pagination .page-numbers{
	display: none;
}
.pagination .next, .pagination .prev{
	display: block;
}
.pagination .prev{
	float: right;
}

/*table style*/
#main-content table tr:nth-child(even){
    background-color: #f3f3f3;
}

/*MEDIA QUERIES*/

@media only screen and (max-width: 1100px) {
	/*Shrink Logo Size to prevent menu overlap*/
	.logo { margin-bottom: 28.5px; margin-top: 8.5px; max-height: 43px; }
}

/*On Menu Collapse - Tablet Large*/
@media only screen and (max-width: 980px) {
	#main-header{
		padding-top: 0px;
	}
	/*Center Logo vertically in header*/
	.logo { 
		margin-top: 20px; 
		margin-bottom: 20px; 
	}
	/*Align Search Icon above menu toggle*/
	#et_top_search{ 
		margin-bottom: 10px; 
		margin-top: 20px;
	}
	.et_mobile_menu{ 
		top: 83px; 
	}
	/*Align Search box*/
	.et-search-form{ 
		top: 63px; 
		right: 0px;
	}
	.et-search-form input{ 
		width: 342px;
	}
	/*Shrink padding so news header fits fully in smaller box*/
	#HomeNews .et_pb_column{ 
		padding-bottom:0px; 
	}
	/*Remove right border when sidebar doesn't show*/
	#LandingPage .et_pb_column_3_4{
		border-right: 0px solid;
	}
	/*Remove left padding on sidebar when it is moved to bottom*/
	.LPSideBar{
		padding: 0px;
	}
	/*Align columns for tablet view*/
	.et_pb_column_1_3, .et_pb_column_1_4{
		width: 200px;
		margin-right: 30px;
	}
	.et_pb_column_3_8{
		width: 300px;
		margin-right: 60px;
	}

	/*align footer columns with news buttons */
	.footer-widget, .footer-widget:last-child, .footer-widget:nth-child(2n){
		width: 25%;
		margin-right: 0px;
		margin-left: 7%;
	}

	/*Have sidebar degrade to mobile correctly*/
	.LPSideBar, .et_right_sidebar #sidebar{
		width: 667px;
		padding-top: 20px;
		border-top: 1px solid #d6d6d6;
	}

	.LPSideBar .widget, .LPSideBar .widget_recent_entries, .LPSideBar .widget_archive, .LPSideBar .widget_categories{
		width: 30% !important;
		float:left;
		display: inline-block;
		margin-right: 10px !important;
		vertical-align: top;
	}

	.LPSideBar .widget_text, .LPSideBar .widget_archive{
		padding-top: 0px;
		border-top: 0px solid #d6d6d6;
		margin-right: 30px !important;
	}
	.LPSideBar .widget_text .textwidget img{
		padding-top: 20px;
		border-top: 1px solid #d6d6d6;
	}

	/*Ajust padding on news boxes*/
	#HomeBoxes .et_pb_promo_description h2{ 
		padding-left: 5%;
		padding-right: 5%; 
	}

	/*Shrink slider overlay*/
	#HomeSlider .et_pb_container, #HomeSlider .et-pb-controllers{
		width: 300px;
		margin-right: 80px;
	}

	#HomeSlider .et_pb_slide_description{
		padding-top: 60px;
	}
	#HomeNews .et_pb_posts h2{
		font-size: 15px;
	}

}

/*Tablet - MEDIUM*/
@media only screen and (max-width: 767px) {
	/*Extend header menu to full width*/
	#main-header .container{ 
		width: 95%; 
	}
	/*Extend Footer sections to full width*/
	#HomeBoxes{ 
		height: auto; 
	}
	
	#HomeBoxes .et_pb_column{ 
		height: 150px; 
	}
	#HomeBoxes h2 {
		padding-top: 30px;
	}
	#HomeBoxes .et_pb_row, #HomeBoxes .et_pb_column_4_4{
		height: 0px;
	}
	#menu-footer-menu{ 
		text-align: center; 
	}

	/*Extend Columns/Rows to Full Width*/
	#HomeBoxes .et_pb_column, .et_pb_column_1_3, .footer-widget, .et_pb_column_1_4, .et_pb_column_3_8, .sidebar-template .et_pb_column_2_3, .sidebar-template .et_pb_column_1_3{
		width: 100%;
		margin-right: 0px;
	}
	.et_pb_row{
		width: 90%;	
	}

	/*degrade sidebar to smaller screens*/
	.LPSideBar, .et_right_sidebar #sidebar{
		width: 100%;
	}

	.LPSideBar .widget, .LPSideBar .widget_recent_entries, .LPSideBar .widget_archive, .LPSideBar .widget_categories{
		width: 100% !important;
		float:none;
		display: block;
	}
	.widget_search #s{
		width: 84%;
	}

	.LPSideBar .widget_text, .LPSideBar .widget_archive{
		padding-top: 20px;
		border-top: 1px solid #d6d6d6;
	}

	.LPSideBar .widget_text .textwidget img{
		padding-top: 0px;
		border-top: 0px solid #d6d6d6;
	}

	/*Change fontsize of news section*/
	#HomeNews {
		height: auto;
	}
	#HomeNews .et_pb_row{
		padding: 0;
	}
	#HomeNews .et_pb_posts h2{
		font-size: 15px;
	}

	/*align footer columns with news buttons */
	#main-footer .container{
		width: 400px;
	}
	.footer-widget, .footer-widget:last-child, .footer-widget:nth-child(2n){
		width: 70%;
		margin: 0px;
		padding-right: 30px;
		padding-left: 30px;
	}

	/*sidebar template style*/
	.sidebar-template .et_pb_column_1_4{
		width: 45%;
		margin-right: 5%;
	}
	.sidebar-template .et_pb_column_1_2{
		width: 95%;
		margin-right: 0;
	}
	.sidebar-template .et_pb_column_3_4{
		width: 95%;
		margin-right: 0;
	}
	.sidebar-template .et_pb_column_4_4{
		width: 95%;
		margin-right: 0;
	}

	/*news slider*/
	.blog-slider{
		margin-top: -56px;
	}
	.blog-slider .et_pb_slides{
		margin-top: 70px;
	}
	.blog-slider .et_pb_slides .et_pb_slide{
		width: 80%;
		margin-left: 10%;
	}

	/*footer lang toggle*/
	#footer-bottom .container #lang_sel_list.lang_sel_list_vertical ul {
		display: inline;
	}

	#footer-bottom .container #lang_sel_list.lang_sel_list_vertical ul li{
		right:70px;
	}
}

/*Mobile*/
@media only screen and (max-width: 550px) {
	/*Hide slide content and large header logo*/
	.et_pb_slide_content, .et_pb_more_button, #logo{ 
		display: none !important; 
	}
	/*Shrink slide content*/
	#HomeSlider, .et_pb_slides, .et_pb_slide, .et-pb-slider-arrows, .et_pb_slider{ 
		height:200px; 
	}

	.et_pb_slide_description{ 
		padding: 50px 30px !important; 
	}
	.et-pb-arrow-prev, .et-pb-arrow-next{ 
		font-size: 40px; 
	}
	/*extend container fully*/
	.et_pb_container, .et-pb-controllers{ 
		width: 100% !important; 
		margin: 0 !important; 
	}
	/*display small logo*/
	#logo_small{ 
		display: block; 
	}
	/*shrink search box*/
	.et-search-form input{ 
		width: 200px;
	}

	/*sidebar template style*/
	.sidebar-template .et_pb_column_1_4{
		width: 95%;
		margin-right: 0;
	}

	/*news slider*/
	.blog-slider{
		height: 150px;
		width: 110%;
		margin-left: -5%;
	}
	.blog-slider .et-pb-slider-arrows a{
		width: 40px;
	}
	.blog-slider .et_pb_slides{
		margin-top: 55px;
		width: 100%;
	}
	.blog-slider .et_pb_slides .et_pb_slide{
		width: 60%;
		margin-left: 20%;
	}
	
}

/*SMALL*/
@media only screen and (max-width: 400px) {
	/*allow footer width to shrink smaller than 400px*/
	#main-footer .container{
		width: 95%;
	}
	/*footer lang toggle*/
	#footer-bottom .container #lang_sel_list.lang_sel_list_vertical ul li{
		right:60px;
	}
}

/*SMALLEST*/
@media only screen and (max-width: 321px) {
	/*footer lang toggle*/
	#footer-bottom .container #lang_sel_list.lang_sel_list_vertical ul li{
		right:25px;
	}
}

/*8FW TEMPLATE*/



