@media only screen and (max-device-width: 1024px),  only screen and (max-width:1024px) {
.mobileMenuLink a {
	color: #fff !important;
}
.header p.contact {
    margin-right: 49px;
}
div.reference-wrapper {
    width: 45%;
}
.header-info {
    width: 30%;
}
.mobileMenuLink {
	display: block;
}
.header #logo {
	max-width: 80%;
	padding-bottom: 15px;
	margin-top: 15px;
}
.header #logo img {
	max-width: 150px!important;
}
.header {
	position: relative;
}
.header.sticky {
	position: relative;
}
.header.sticky .headerTop {
	display: block!important;
}
.header-center {
	padding-top: 0px!important;
	padding-bottom: 0px!important;
}
div#menu-bg {
	width: 100%;
	float: none;
	display: none;
}
div#menu-bg #menu {
	border-top: 1px solid #ddd;
}
div#menu > ul > li {
	border: none;
	float: left;
	border: none!important;
	width: 100%;
	border-bottom: 1px solid #ddd!important;
	padding: 0px;
}
div#menu > ul > li:last-child {
	border-bottom: 0px solid #666!important;
}
div#menu > ul > li > a {
	font-size: 20px;
	padding: 15px 12px 15px 12px;
}
div#menu ul li > ul li a {
	width: 100% !important;
}
div#menu > ul > li > a .fa {
    position: absolute;
    margin-left: 15px;
    padding: 6px 10px;
    background: white;
    color: #222;
    top: 10px;
}
div#menu ul li > ul {
	width: 100% !important;
	position: relative;
}
div#menu ul li:hover > ul, div#menu ul li:focus > ul {
	display: none !important;
}
div#menu ul li.selected:hover > ul {
	display: block !important;
}
div#menu ul li.selected > ul {
	display: block;
	position: relative;
	top: 0px;
	width: 100%;
	max-width: 100%;
}
div#menu ul li.selected > ul li {
	width: 100%;
	max-width: 100%;
	padding-left: 0px;
	padding-right: 0px;
}
div#menu ul li.selected > ul li a {
	text-align: center;
	width: 100%;
	max-width: 100%;
	display: block;
}
#main {
	padding-top: 0px;
}
.home-slider .bx-controls-direction {
	display: none;
}
.home-slider .caption-wrap {
	padding: 100px 0;
}
.home-slider .caption {
	max-width: 100%;
}
.home-slider .caption a.title {
	font-size: 30px;
	line-height: 30px;
}
.homepages .item h3,.parallax.dark h2,.parallax2 h2, .parallax2 h1,.parallax2 h4 {
    font-size: 39px;
    line-height: 45px;

}
}


@media (min-width: 768px) and (max-width: 1024px) {

	.homepages .home_page_item h2 {
		height: 60px;
		overflow: hidden;
	}

	.homepages .home_page_item p {
 		height: 180px !important;
	}

	.pie1,
	.pie2,
	.pie3,
	.pie4 {
		width: 50% !important;
	}

	.charts h5 {
		top: 40%;
		left: 50%;
	}

	.mobileMenuLink a {
    	color: #fff !important;
	}

	.header-info {
		margin-right: 50px;
	}

}

 @media (max-width:768px) {
article + aside .widget {
    padding-top: 40px;
}
.headerTop .left {
	display: block;
	width: 100%;
	float: left;
}
.headerTop .right {
	display: block;
	width: 100%;
	float: left;
	margin-top: 10px;
}
#search-query {
	width: 170px;
}
div.home_page_item {
	height: auto!important;
}
.bgWhite {
	padding: 50px 0;
}
.bgGrey {
	padding: 50px 0;
}
.parallax {
	padding: 50px 0;
}
.topMenu { display:none;}



.homepages .item {
    padding: 30px 30px 70px 30px;
    background: #ffd900;
    position: relative;
}

.pieContainer {

    width: 270px;
    margin: 0 auto;
}

.home-slider ul li {
    background-position:center center!important;
    min-height: 300px;
	background-attachment:scroll!important;
}

div#menu ul li > ul li > a {
    padding: 15px 15px;
}

.subPage {
	margin-top:40px;
}

.subPage img {
	height: 100%;
	width: 100%;
}

.header p.contact {
	display: block;
    float: right;
    margin-right: 49px;
    padding-bottom: 0px;
    font-size: 13px;
    padding-top: 0px;
    margin-top: 5px;
    font-weight: 600;
}

.header .contact .fa{
	display: none;
}

.header-info {
	padding-top: 14px;
	width: 50%;

}

.parallax.charts.dark {
    overflow: hidden;
}

.sidebar-right ul li a {
	max-width: 100%;
}

.sidebar-right,
.content-left {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

div.footer-copyright,
div.footer-column-3 {
	float: none;
	margin: 0 !important;
	width: 100%;
	text-align: center;
}

div.news_thumbnail, div.action_thumbnail, div.search_thumbnail,
div.news_info {
	width: 100%;
	max-width: 350px;
	margin: 0 auto;
	float: none;
}

div.news_thumbnail {
	margin-bottom: 20px;
}

.homepages .home_page_item p {
	height: auto;
}

.charts h5 {
	top: 40%;
	left: 50%;
}

div.reference-wrapper, li.adj {
	display: none;
}

}


