/**
 * Media Queries
**/

@media (max-width: 1630px) {
	.nav-menu>li>.link-wrapper>a,
	.top-right-menu>li>a {
		padding: 0 20px;
		max-width: 220px;
	}
	.nav-menu>li.two-lines>.link-wrapper>a {
		padding: 25px 20px;
	}
}

@media (max-width: 1470px) {
	.nav-menu>li>.link-wrapper>a,
	.top-right-menu>li>a {
		padding: 0 10px;
		max-width: 210px;
	}
	.nav-menu>li.two-lines>.link-wrapper>a {
		padding: 25px 10px;
	}
}

@media (max-width: 1220px) {
	.home-tagline,
	body.home .entry-content,
	.footer-main,
	.site-width {
		padding-left: 15px;
		padding-right: 15px;
	}
	.contact-page .contact-ribbon .site-width {
		padding-left: 0;
		padding-right: 0;	
	}
	.site-header,
	.site-title,
	.top-right-menu-wrapper {
		height: 60px;
	}
	.site-title a {
		width: 95px;
		height: 40px;
		background-size: 100%;
	}
	.site-main {
		margin-top: 60px;
	}
	/**Mobile Main Menu**/
	.primary-navigation {
		display: none;
		position: fixed;
		top: 60px;
		left: 0;
		right: 0;
		bottom: 0;
	}
	body.admin-bar .primary-navigation {
		top: 92px;
	}
	.primary-navigation.open {
		display: block;
	}
	.nav-menu {
		position: fixed;
		top: 60px;
		left: 0;
		right: 0;
		bottom: 0;
	}
	body.admin-bar .nav-menu {
		top: 92px;
	}
	
	.nav-menu>li .link-wrapper a,
	.nav-menu>li>ul>li>.link-wrapper>a,
	.nav-menu a {
		font-size: 16px;
		font-size: 1rem;
		color: #545454;
	}
	/*First Level*/
	.nav-menu>li {
		width: 50%;
		background-color: transparent;
		position: relative;
		border: none;
	}
	.nav-menu>li .link-wrapper {
		width: 100%;
		height: 100%;
		display: none;
		position: relative;
		background-color: #e1e1e1;
	}
	.nav-menu>li .link-wrapper a {
		max-width: 100%;
		width: 100%;
		height: 100%;
		line-height: 1;
		display: table;
		text-align: center;
		border-right: 1px solid white;
		border-bottom: 1px solid white;
	}
	html.ie9 .nav-menu>li.two-lines .link-wrapper a {
	    width: 100%;
	}
	.nav-menu>li:hover>.link-wrapper>a {
		background-color: #007dc3;
		color: white;
	}
	.nav-menu>li .link-wrapper a>span {
		display: table-cell;
		vertical-align: middle;
		margin: auto;
		text-align: center;
	}
	.nav-menu>li.menu-item-has-children>div>a>span:after,
	.nav-menu>li.menu-item-has-children>.ui-effects-wrapper a span:after {
	    display: inline;
	}
	/*Second Level*/
	.nav-menu li.mobile {
		display: block;
	}
	.nav-menu>li>ul {
		display: none;
		position: fixed;
		left: 100%;
		right: -100%;
		bottom: 0;
		z-index: 400;
		height: auto;
		top: 60px;
		visibility: visible;
		background-color: white;
		-webkit-transition: none;
		transition: none;
		-webkit-transform-origin: none;
		-ms-transform-origin: none;
		transform-origin: none;
		-webkit-transform: none;
		transform: none;
	}
	body.admin-bar .nav-menu>li>ul {
		top: 92px;
	}
	.nav-menu>li>ul.open {
		display: block;
	}
	.nav-menu>li>ul>li {
		border: none;
		width: 50% !important;
	}
	.nav-menu>li>ul>li>.link-wrapper {
		display: block;
		width: 100%;
		height: 100%;
		position: relative;
	}
	.nav-menu>li:hover>ul>li>.link-wrapper a,
	.nav-menu>li>ul>li>.link-wrapper>a {
		max-width: 100%;
		width: 100%;
		height: 100%;
		line-height: 1;
		display: table;
		text-align: center;
		padding: 0;
		background-color: white;
		border-right: 1px solid #e1e1e1;
		border-bottom: 1px solid #e1e1e1;
	}
	.nav-menu>li>ul>li:hover>.link-wrapper>a {
		background-color: #f3f3f3;
		color: #545454;
	}
	.nav-menu>li>ul>li .link-wrapper a>span {
		display: table-cell;
		vertical-align: middle;
		margin: auto;
		text-align: center;
	}

	.mobile-menu-btn {
		display: block;
	}
	.top-right-menu>li>a {
		padding: 0 30px;
		line-height: 60px;
	}

	.slideshow .slide-title {
		text-align: center;
	}
	.slideshow .slide-title .one {
		font-size: 18px;
		font-size: 1.125rem;
	}
	.slideshow .slide-title .two {
		font-size: 72px;
		font-size: 4.5rem;
		line-height: 72px;
	}

	.header-slider .cycle-controls {
		display: none;
	}
	.header-slider .slide-wrapper .slide-contents {
		position: static;
		max-width: 100%;
		text-align: left;
	}
	.header-slider .slides {
		background-color: #4B4B4B;
	}
	.header-slider .slide-wrapper .slide-contents .slide-contents-inner {
		display: block;
		background-color: #4B4B4B;
	}
	.child-pages-wrapper .child-page {
		width: 33.3% !important;
	}
	.child-pages-wrapper .child-page .title {
		font-size: 20px;
		font-size: 1.25rem;
	}
	.additional-services-wrapper .service {
		width: 50%;
	}

	/*Our Work Page*/
	.category-menu {
		margin-bottom: 0;
		text-align: left;
	}
	/*First Level*/
	.category-menu .parent-terms {
		border: 1px solid #e1e1e1;
		border-bottom: none;
		display: block;
		margin: 20px;
	}
	.category-menu .parent-terms>li {
		display: block;
		border-bottom: 1px solid #e1e1e1;
		height: auto;
		position: relative;
		line-height: 40px;
	}
	.category-menu .parent-terms>li>span {
		text-align: left;
		font-size: 14px;
		font-size: 0.875rem;
		line-height: 16px;
		height: auto;
		padding: 10px 30px;
	}
	.category-menu li.active {
		background-color: #f3f3f3;
	}
	.category-menu .parent-terms>li.active>.child-terms li {
		background-color: white;
	}
	.category-menu .parent-terms>li>.accordion-button {
		display: block;
		height: auto;
		line-height: 36px;
	}
	/*Second Level*/
	.category-menu .child-terms {
		position: static;
	}
	.category-menu .child-terms>li {
		display: block;
		border-top: 1px solid #e1e1e1;
	}
	.category-menu .child-terms>li>span {
		text-align: left;
		font-size: 14px;
		font-size: 0.875rem;
		padding: 0 50px;
	}

	.our-work-wrapper .project {
		float: none;
		width: 100%;
	}
}

/*iPad Portrait / Landscape, Other Tablets*/
@media (max-width: 999px),
only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
	.home-pulls .pull .pull-contents .pull-title {
		font-size: 16px;
		font-size: 1rem;
	}

	.footer-menu ul li.home {
		display: block;
	}
	.footer-menu li.home a {
		margin-right: auto;
		margin-left: auto;
	}
	.social-menu li.menu-item-102,
	.social-menu li.menu-item-103 {
		display: block;
		line-height: 18px;
	}

	.entry-content .service-content {
	    padding-right: 0px;
	    width: 100%;
	    padding-bottom: 20px;
	}
	.entry-content .featured-services {
		width: 100%;
	}
	.service-category-selectors .service-category-selector {
		width: 25%;
	}
	.service-categories-wrapper .service-category .service-category-body {
		float: none;
		width: 100%;
		margin-bottom: 20px;
		padding-right: 0;
	}
	.service-categories-wrapper .service-category .services-wrapper {
		float: none;
		width: 100%;
	}

	.css-two-column {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
	}

	.awards-wrapper .award {
		width: 50%;
	}

	.entry-content .left {
		float: none;
		width: 100%;
		margin-bottom: 15px;
	}
	.wpcf7 .left {
		float: none;
		width: 100%;
	}
	.wpcf7 .activities .wpcf7-list-item,
	.wpcf7 .contacted .wpcf7-list-item {
		float: none;
		width: 100%;
		display: block;
	}
	.wpcf7 .three-column,
	.wpcf7 .two-column,
	.wpcf7 .captcha {
		padding: 0;
	}

	body.blog .entry-content,
	body.category .entry-content,
	body.single .entry-content {
		float: none;
		width: 100%;
		margin-bottom: 30px;
		padding-bottom: 0;
		padding-right: 0;
		border-right: none;
	}
	.blog-sidebar-wrapper {
		padding-left: 0;
		float: none;
		width: 100%;
	}


	.contact-page .contact-ribbon .two-column {
		float: none;
		width: 100%;
	}
}

/* small tablets portrait view - nexus */
@media (max-width: 767px) {
	.home-pulls .pull {
		float: none;
		width: 100%;
	}
	.home-pulls .pull img {
		width: 100%;
		height: auto;
	}

	.home-tagline,
	.home-tagline h1 {
		font-size: 28px;
		font-size: 1.75rem;
		line-height: 28px;
	}
	body.home .left.sixty {
	    padding-left: 0px;
	}
	body.home .entry-content .left {
		float: none;
		width: 100%;
	}
	body.home .left.fourty {
		text-align: center;
	}
	body.home .left.fourty img {
		margin-bottom: 15px;
	}
	body.home .entry-title {
		text-align: center;
		font-size: 33px;
		line-height: 1.2;
	}

	.header-slider img {
		width: 150%;
	}
	.child-pages-wrapper .child-page {
		width: 50% !important;
	}
	.additional-services-wrapper .service {
		width: 100%;
	}

	#map_canvas {
		height: 200px;
	}
}

@media (max-width: 643px) {
	.home-pulls{
    height: auto;
    background-size: cover;
}
	.pull-contents.absolute {

    width: 100%;
    float: left;

}
	.grid__item {
    display: block;
    width: 100%;
    padding-left: 30px;
    vertical-align: top;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
	.top-right-menu>li>a {
		padding: 0 10px;
	}
	.mobile-menu-btn {
		padding: 0 10px;
	}

	.entry-content .intro {
		margin-bottom: 40px;
	}
	.entry-content .intro,
	.large-blue {
		font-size: 20px;
		font-size: 1.25rem;
		line-height: 23px;
	}
	.service-category-selectors .service-category-selector {
		width: 50%;
	}
	.service-categories-wrapper .service-category .service-category-title {
		font-size: 24px;
		font-size: 1.5rem;
		margin-bottom: 20px;
	}
	.service-categories-wrapper .service-category .service-category-body {
		font-size: 14px;
		font-size: 0.875rem;
	}

	.child-pages-wrapper .child-page {
		width: 100% !important;
	}

	.masonry-container .item {
	    width: 100%;
	}
	.masonry-container .item.small {
	    width: 50%;
	}

	.our-work-wrapper .project .contents {
		position: relative;
		background-color: #333;
	}
	.our-work-wrapper .project:hover .contents .case-study {
		float: none;
		width: 100%;
		display: inline-block;
		margin-bottom: 5px;
	}
	.our-work-wrapper .project:hover .contents .see-more {
		float: none;
		width: 100%;
	}
	.our-work-wrapper .project .contents .see-more a.first .see-more-arrow {
		margin-left: 25px;
	}

	.newsletter .left {
		width: 50%;
	}
	.newsletter .row-1 {
		margin-bottom: 10px;
	}
}

/* Mobile devices - android large screens and iphones*/
@media (max-width: 500px) {
	.pull-contents.absolute {

    width: 100%;
    float: left;

}
.home-pulls{
    height: auto;
    background-size: cover;
}
	.nav-menu>li .link-wrapper a, .nav-menu>li>ul>li>.link-wrapper>a, .nav-menu a {
		font-size: 14px;
		font-size: 0.875rem;
	}
	
	.site-title a {
		width: 75px;
		background-position: center;
	}

	.slideshow .slide-title .one {
		font-size: 16px;
		font-size: 1rem;
	}
	.slideshow .slide-title .two {
		font-size: 50px;
		font-size: 3.125rem;
		line-height: 50px;
	}

	.header-slider img {
		width: 170%;
	}

	.awards-wrapper .award {
		width: 100%;
	}

	.our-work-wrapper .project .contents .title {
		font-size: 18px;
		font-size: 1.125rem;
	}
	.grid__item {
    /*display: inline-block;*/
    width: 100%;
    padding-left: 30px;
    vertical-align: top;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
}
	
@media (max-width: 400px) {
	.mobile-menu-btn-inner {
		font-size: 0px;
		padding: 0px;
		width: 20px;
		height: 20px;
	}

	.newsletter .left {
		width: 100%;
	}
	.newsletter .row-1 {
		margin-bottom: 0px;
	}
	.newsletter .left.four-column {
		margin-bottom: 10px;
	}
}

/* Mobile devices iphone */
/*For very small/narrow screens*/
@media (max-width: 370px) {
	
}


