/*ALL KP SPECIFIC CSS
KEEPS THE MAIN CSS AND THE CODE CLEANER
*/

#main-nav{max-width:960px;}

.scroll-top,{float: left;text-align: center;}

#scroll {
	position:fixed;
	right:2%;
	bottom:10px;
	cursor:pointer;
	width:50px;
	height:50px;
	background-color:#999999;
	text-indent:-9999px;
	display:none;
	z-index:99999999;
	-webkit-border-radius:60px;
	-moz-border-radius:60px;
	border-radius:60px
}
#scroll span {
	position:absolute;
	top:50%;
	left:50%;
	margin-left:-8px;
	margin-top:-12px;
	height:0;
	width:0;
	border:8px solid transparent;
	border-bottom-color:#fff
}
#scroll:hover {background-color:#333333;}


/*#scroll-to-top {
	background: #484848;
	padding: 5px 9px;
	animation-play-state: paused;
	margin-bottom: 1%;
	color:#fff;
	width:20px;
	height:26px;
	font-size:24px;
	text-align:center;	
	cursor: pointer;
	border-radius: 50%;
	position: fixed;
	right: 35px;
	bottom: 50px;
	-webkit-animation: mymove 5s infinite;
	animation: mymove 5s infinite;
}*/
	
.erkfooterboxes li{list-style-type:none;}

#kp_cornerdecor{position:fixed;bottom:26px;right:0;height:100px;width:100px;}

#kp_footermessage{color:#666666;max-width:800px;margin:auto;text-align:center;margin-bottom:10px;line-height:10px;font-size:10px;}

.kp_center{margin:auto;text-align:center;}

#fixedspacer{height:145px;}

#fixedwrap{background:rgb(0,0,0);background:rgba(0,0,0,.5);}

.noshow{display:block;}

.erkflip{
  -moz-transform: scale(-1, 1);
  -webkit-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
}

#searchsubmit{
	background-color: #585858;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#585858), to(#3d3d3d));
	background-image: -webkit-linear-gradient(top, #585858, #3d3d3d);
	background-image: -moz-linear-gradient(top, #585858, #3d3d3d);
	background-image: -ms-linear-gradient(top, #585858, #3d3d3d);
	background-image: -o-linear-gradient(top, #585858, #3d3d3d);
	background-image: linear-gradient(to top, #585858, #3d3d3d);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#585858, endColorstr=#3d3d3d)";	
	color:#e1e1e1;
	text-shadow:none;
	border-radius:10px;
}

#searchsubmit:hover{
	background-color: #585858;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#3d3d3d), to(#585858));
	background-image: -webkit-linear-gradient(top, #3d3d3d, #585858);
	background-image: -moz-linear-gradient(top, #3d3d3d, #585858);
	background-image: -ms-linear-gradient(top, #3d3d3d, #585858);
	background-image: -o-linear-gradient(top, #3d3d3d, #585858);
	background-image: linear-gradient(to top, #3d3d3d, #585858);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#3d3d3d, endColorstr=#585858)";	
	color:#111111;
	text-shadow:none;
}

#page_in_widget-2{margin-top:0;padding-top:0;}

.preload{position:abosolute;display:none;}

#responsive_current_menu_item{background:#000000;}

.pis-ul{list-style-type:none;} //posts in sidebar tries to list stuff

/*post in sidebar display on homepage*/
.pis-li a, .pis-title-link a{
font-size:24px;	
font-weight:700;	
}

span.pis-more{font-size:14px;}

.ai1ec-agenda-widget-view{margin-top:40px;}

@media screen and (max-width: 800px) {
	
.noshow{display:none;}	

#fixedwrap{position:fixed;}
	
#fixedspacer{height:145px;}	
	
.pis-thumbnail img{clear:both;}	


}


/*lets try putting newest responsive menu css here*/

/* =Header Menu (Primary)
-------------------------------------------------------------- */
.menu {
	background-color: #333333;
	/*
	background-image: -webkit-gradient(linear, left top, left bottom, from(#585858), to(#3d3d3d));
	background-image: -webkit-linear-gradient(top, #585858, #3d3d3d);
	background-image: -moz-linear-gradient(top, #585858, #3d3d3d);
	background-image: -ms-linear-gradient(top, #585858, #3d3d3d);
	background-image: -o-linear-gradient(top, #585858, #3d3d3d);
	background-image: linear-gradient(to top, #585858, #3d3d3d);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#585858, endColorstr=#3d3d3d)";
	*/
	clear: both;
	margin: 0 auto;
}

.main-nav {
	clear: both;
}
.menu {
	display: block;
	list-style-type: none;
	padding: 0;
}
.menu ul {
	display: block;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.menu li {
	border: 0;
	display: block;
	float: left;
	margin: 0;
	padding: 0;
	position: relative;
	padding: 0;
	z-index: 5;
}

.menu li:hover {
	white-space: normal;
	z-index: 10000;
}

.menu li li {
	float: none;
}

.menu ul {
	left: 0;
	position: absolute;
	top: 0;
	visibility: hidden;
	z-index: 10;
}

.menu li:hover > ul {
	top: 100%;
	visibility: visible;
}

.menu li li:hover > ul {
	left: 100%;
	top: 0;
}

.menu:after,
.menu ul:after {
	clear: both;
	content: '.';
	display: block;
	height: 0;
	overflow: hidden;
	visibility: hidden;
}

.menu,
.menu ul {
	min-height: 0;
}

.menu ul,
.menu ul ul {
	margin: 0;
	padding: 0;
}

.menu ul li a:hover,
.menu li li a:hover {
	color: #484848;
	text-decoration: none;
}

.menu ul {
	margin-top: 1px;
	min-width: 15em;
	width: auto;
}

.menu a {
	border-left: 1px solid #585858;
	color: #ffffff;
	cursor: pointer;
	display: block;
	font-size: 18px;
	font-weight: 400;
	height: 30px;
	line-height: 30px;
	margin: 0;
	padding: 0 0.9em;
	position: relative;
	text-decoration: none;
	text-shadow: 0 -1px 0 #000000;
	white-space: nowrap;
}

.menu a:hover {
	background-color: #808080;
	background-image: -webkit-gradient(linear, left top, right top, from(#808080), to(#363636));
	background-image: -webkit-linear-gradient(top, #808080, #363636);
	background-image: -moz-linear-gradient(top, #808080, #363636);
	background-image: -ms-linear-gradient(top, #808080, #363636);
	background-image: -o-linear-gradient(top, #808080, #363636);
	background-image: linear-gradient(to top, #808080, #363636);
	color: #ffffff;
    	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#808080, endColorstr=#363636)";
}

ul.menu > li:hover {
	background-color: #363636;
	color: #ffffff;
}

.menu .current_page_item a,
.menu .current-menu-item a {
	background-color: #343434;
}

.front-page .menu .current_page_item a {
	background: none;
	background-color: transparent;
	background-image: none;
	filter: none;
}

.menu li li {
	background: rgb(0,0,0);
	background:rgba(0,0,0,.8);
	background-image: none;
	border: none;
	color: #e1e1e1;
	filter: none;
	margin: -1px 0 1px 0;
	width: auto;
}

.menu li li a {
	background: rgb(0,0,0);
	background:rgba(0,0,0,.8); !important;
	border none;
	color: #e1e1e1;
	font-size: 16px;
	font-weight: 400;
	height: auto;
	height: 22px;
	line-height: 22px;
	padding: 5px 10px;
	text-shadow: none;
	white-space: nowrap;
}

.menu li li a:hover {
	background: rgb(0,0,0);
	background:rgba(0,0,0,.8); !important;
	background-image: none;
	border: none;
	color: #00ff00;
	filter: none;
}

.menu li li:hover {
	background: rgb(0,0,0);
	background:rgba(0,0,0,.8); !important;
	filter: none;
}

.menu ul > li + li {
	border-top: 0;
}

.menu li li:hover > ul {
	left: 100%;
	top: 0;
}

.menu > li:first-child > a {
	border-left: none;
}

.menu a#responsive_menu_button {
	display: none;
}

.main-nav #responsive_current_menu_item {
	display: none;
}

.menu li ul{border:2px solid #333333;}

/*.js .main-nav .menu {*/
/*display: block;*/
/*}*/


.ekcallnow{
	background-color: #ffcc00;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#cc9900), to(#ffcc00));
	background-image: -webkit-linear-gradient(top, #cc9900, #ffcc00);
	background-image: -moz-linear-gradient(top, #cc9900, #ffcc00);
	background-image: -ms-linear-gradient(top, #cc9900, #ffcc00);
	background-image: -o-linear-gradient(top, #cc9900, #ffcc00);
	background-image: linear-gradient(to top, #cc9900, #ffcc00);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc9900, endColorstr=#ffcc00)";	
	color:#333333;
	text-shadow:none;
	border-radius:10px;
	padding:10px;
	font-weight:700;
}

.ekcallnow:hover{
	background-color: #585858;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#3d3d3d), to(#585858));
	background-image: -webkit-linear-gradient(top, #3d3d3d, #585858);
	background-image: -moz-linear-gradient(top, #3d3d3d, #585858);
	background-image: -ms-linear-gradient(top, #3d3d3d, #585858);
	background-image: -o-linear-gradient(top, #3d3d3d, #585858);
	background-image: linear-gradient(to top, #3d3d3d, #585858);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#3d3d3d, endColorstr=#585858)";	
	color:#ffffff;
	text-shadow:none;
}