/*  Media Queries
--------------------------- */

/* Smaller than standard 1024 (devices and browsers) */
@media only screen and (max-width:1200px) {

	.container,
	.sticky-header.fixed .container {
		width: 95%;
	}

	body #infinite-footer .container {

		width: 95% !important;
	}

	.site-header .container {
		text-align: center;
	}

	.site-branding {
		display: inline-block;
		float: none;
	}

	.latest-news-item:after {
		background-size: 100% auto;
	}

	#featured-slider .cycle-caption h3,
	#featured-slider .cycle-caption h3 a {
		font-size: 26px;
		margin: 5px;
	}

	#featured-slider .cycle-caption p {
		font-size: 17px;
	}

	.copyright,
	.site-info {
		font-size: 13px;
	}

	#featured-slider .cycle-caption {
		top: 13%;
	}

	#site-navigation ul li a,
	#secondary-navigation ul li a {
		margin-left: 7px;
		padding: 3px 10px 15px;
		position: relative;
	}

	#site-navigation ul li li a,
	#secondary-navigation ul li li a {
		margin-left: 0;
		padding: 5px 15px;
		position: relative;
	}

	#site-navigation ul li,
	#secondary-navigation ul li {
		margin-left: 7px;

	}

	#site-navigation ul li li,
	#secondary-navigation ul li li {
		margin-left: 0px;

	}

	#site-navigation ul li a,
	#secondary-navigation ul li a {
		margin-left: 0;
		padding: 10px 5px 15px;

	}

	#site-navigation ul ul ul,
	#secondary-navigation ul ul ul {
		left: 100%;
		margin: 0;
		top: -1px;
	}

	#site-navigation ul li:hover>ul,
	#secondary-navigation ul li:hover>ul {
		display: block;
		margin: 0;
	}

	#site-navigation ul ul,
	#secondary-navigation ul ul {
		opacity: 1;
		position: absolute;
		top: 42px;
		visibility: visible;
		display: none;
	}

	#site-navigation {
		float: right;
		margin-top: 10px;
		width: 100%;
	}

	#site-navigation {
		text-align: center;
	}
/*
	.site-header {
		padding: 10px 0;
	}
*/
	.testimonial-thumb {
		float: left;
		margin-right: 25px;
	}

	div.latest-news-widget div.latest-news-item:after {
		background-size: 100% 30px;
		bottom: -36px;
		height: 30px;
	}

	.col-sm-3 .latest-news-item .latest-news-meta {
		font-size: 14px;
	}

	.container .site-header {
		min-height: inherit;
		padding: 40px 0;
	}

	.global-layout-three-columns .latest-news-widget .col-sm-3,
	.global-layout-three-columns .special-pages-widget .col-sm-3 {
		width: 50%;
	}
}

/* Smaller than standard 1024px (devices and browsers) */
@media only screen and (max-width:1024px) {
	h1 {
		font-size: 28px;
	}

	h2 {
		font-size: 25px;
	}

	h3 {
		font-size: 20px;
	}

	h4 {
		font-size: 18px;
	}

	h5 {
		font-size: 16px;
	}

	h6 {
		font-size: 14px;
	}

	p,
	body {
		font-size: 14px;
		line-height: 1.5;
	}

	#site-navigation>ul:after,
	#secondary-navigation>ul:after {
		content: "";
		display: inline-block;
		height: 0;
		overflow: hidden;
		visibility: hidden;
		width: 100%;
	}

	#site-navigation {
		display: block;
		float: none;
		width: 100%;
	}

	.site-header {
		min-height: inherit;
	}

	#featured-slider .cycle-caption {
		bottom: 39px;
		height: auto;
		left: 15%;
		padding: 10px;
		right: 20%;
		top: inherit;
		width: 70%;
	}

	#featured-slider .cycle-caption h3,
	#featured-slider .cycle-caption h3 a {
		font-size: 20px;
		margin-bottom: 0;
		margin-top: 0;
	}

	#featured-slider .cycle-caption p {
		color: #f0f0df;
		font-size: 17px;
		line-height: 1.5;
	}

	.col-sm-6 .latest-news-title,
	.col-sm-6 .latest-news-meta,
	.col-sm-3 .latest-news-title,
	.col-sm-3 .latest-news-meta,
	.col-sm-4 .latest-news-title,
	.col-sm-4 .latest-news-meta {
		margin-bottom: 15px;
	}

	.latest-news-text-wrap {
		padding: 15px;
	}

	.latest-news-summary {
		font-size: 15px;
	}

	.latest-news-widget .row div.col-sm-3 {
		width: 25%;
	}

	.sidebar .special-pages-widget .row>div,
	.sidebar .special-pages-widget .col-sm-3,
	.sidebar .latest-news-widget .row div {
		width: 100%;
	}

	#featured-slider {
		margin-bottom: 40px;
	}

	.testimonial-widget:after {
		background-size: 100% auto;
		bottom: -29px;
		content: "";
		display: block;
		height: 34px;
		position: absolute;
		width: 100%;
	}

	#colophon .col-sm-6 {
		clear: both;
		text-align: center;
		width: 100%;
	}

	.copyright,
	.site-info {
		font-size: 15px;
	}

	.latest-works-thumb a:hover:before {
		bottom: 48%;
		display: block;
		left: 39%;
	}

	.latest-works-item {
		margin-bottom: 5px;
		padding: 10px;
	}

	#primary .widget {
		margin-bottom: 40px;
	}

	#primary .widget.wen_business_widget_latest_news {
		margin-bottom: 25px;
	}

	#primary h3.widget-title span {
		font-size: 24px;
		line-height: 1.5;
		min-height: 50px;
		padding: 6px 25px;

	}

	.col-sm-6:nth-child(2n+1),
	.col-sm-4:nth-child(3n+1),
	.col-sm-3:nth-child(4n+1) {
		clear: inherit;
	}

	.container .site-header {
		margin: 0;
		min-height: inherit;
		padding: 20px 0;
	}

	.global-layout-three-columns #primary {
		display: inline-block;
		float: inherit;
		width: 100%;
	}

	.global-layout-three-columns #sidebar-primary,
	.global-layout-three-columns #sidebar-secondary {
		float: left;
		width: 50%;
	}

	.service-block-item {
		margin-bottom: 30px;
		width: 50%;
	}

	.service-block-inner:after {
		bottom: -40px;
	}

	.widget.wen_business_widget_testimonial:after,
	.widget.wen_business_widget_welcome:after,
	.widget.wen_business_widget_call_to_action:after {
		background-repeat: no-repeat;
		background-size: 100% auto;
		bottom: -26px;
		width: 100%;
	}

	.text-404 {
		font-size: 150px;
	}

	#quick-links-404 ul li a {
		font-size: 18px;

	}

	#featured-slider .cycle-prev {
		left: 20px;
	}

	#featured-slider .cycle-next {
		right: 20px;
	}

	.testimonial-text-wrap:before {
		left: -29px;
		position: absolute;
		top: 7px;
	}

	.testimonial-thumb {
		float: left;
		margin-right: 11%;
		width: 15%;
	}

	.latest-news-widget .row>div {
		width: 50%;
	}

	.global-layout-left-sidebar .latest-news-widget .row>div,
	.global-layout-right-sidebar .latest-news-widget .row>div,
	.global-layout-right-sidebar .special-pages-widget .row>div,
	.global-layout-left-sidebar .special-pages-widget .row>div {
		width: 50%;
	}

	.global-layout-left-sidebar .sidebar .latest-news-widget .row>div,
	.global-layout-right-sidebar .sidebar .latest-news-widget .row>div,
	.global-layout-right-sidebar .sidebar .special-pages-widget .row>div,
	.global-layout-left-sidebar .sidebar .special-pages-widget .row>div {
		width: 100%;
	}

	.special-pages-text-wrap {
		padding: 0 15px;
	}

	.global-layout-three-columns .latest-news-widget .col-sm-3,
	.global-layout-three-columns .special-pages-widget .col-sm-3 {
		width: 25%;
	}
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width:767px) {
	#page.hfeed.site.container {
		background: none;
		box-shadow: inherit;
		margin: 0;
		width: 100%;
	}

	#masthead {
		clear: both;
	}

	.entry-top {
		margin-bottom: 30px;
	}

	.sidebar {
		margin-top: 30px;
	}

	#site-navigation {
		display: none;
		float: right;
	}

	html {
		margin-top: 0 !important;
	}

	.mm-page {
		position: inherit;
	}

	.mm-page.mm-slideout {
		display: block;
		top: 0 !important;
	}

	#featured-slider .cycle-caption h3,
	#featured-slider .cycle-caption h3 a {
		font-size: 16px;
		margin-bottom: 5px;
	}

	#featured-slider .cycle-caption p {
		font-size: 13px;
	}

	#featured-slider .cycle-caption {
		bottom: 9px;
		height: auto;
		left: 15%;
		padding: 10px;
		right: 20%;
		top: inherit;
		width: 70%;
	}

	#primary .latest-news-widget .row>div {
		width: 50%;
		clear: inherit;
	}

	.testimonial-widget:after {
		bottom: -25px;
		content: "";
		display: block;
		height: 37px;

	}

	.testimonial-widget .cycle-pager {
		bottom: -25px;
		position: absolute;
		text-align: right;
	}

	.testimonial-widget {
		padding-bottom: 35px;
	}

	.testimonial-summary {
		font-size: 17px;
	}

	.testimonial-title {
		margin-bottom: 0;
	}

	h4.widget-subtitle {
		font-size: 19px;
	}

	#primary .latest-works-item {
		margin-bottom: 5px;
		padding: 10px;
		width: 25%;
	}

	.latest-news-title {
		font-size: 20px;
	}

	.latest-news-widget div.row {
		margin: 0 -10px;
	}

	.latest-works-widget div.row {
		margin: 0 -10px;
	}

	#page {
		position: relative;
	}

	.sidebar .widget {
		margin-bottom: 30px;
		padding: 15px;
	}

	.sidebar .widget-title,
	.sidebar h2 {
		font-size: 20px;
		font-weight: normal;
		margin-bottom: 10px;
	}

	#sidebar-primary {
		width: 100%;
	}

	#primary {
		width: 100%;
	}

	a.read-more {
		font-size: 15px;
	}

	.widget.wen_business_widget_testimonial:after,
	.widget.wen_business_widget_welcome:after,
	.widget.wen_business_widget_call_to_action:after {
		bottom: -22px;
		width: 100%;
		left: 0;
	}

	.service-block-inner:after {
		bottom: -33px;
	}

	#featured-slider .cycle-prev {
		left: 10px;
	}

	#featured-slider .cycle-next {
		right: 10px;
	}

	#featured-slider .cycle-pager {
		bottom: -54px;
	}

	.pager-box {
		border: 1px solid #209fcc;

	}

	.pager-box.cycle-pager-active {
		background: none repeat scroll 0 0 #209fcc;
	}

	.title-description-wrap {
		float: none;
	}

	.site-logo + .title-description-wrap .site-title {
	  margin-left: 0;
	}

	.site-title,
	.site-description {
		display: block;
		float: none;
	}

	.show-tagline-separator .site-description {
		border: none;
		margin: 0;
		padding: 0;
	}

	.site-header {
		padding: 15px 0;
		margin: 0;
	}

	#featured-slider .cycle-prev:after,
	#featured-slider .cycle-next:after {
		font-size: 34px;
	}

	#featured-slider .cycle-prev,
	#featured-slider .cycle-next {
		bottom: 27%;
		line-height: 0;
	}

	.cycle-pager {
		display: none;
	}

	.home #featured-slider {
		margin-bottom: 25px;
	}

	.widget a.read-more {
		font-size: 15px;
	}

	.testimonial-summary {
		font-size: 14px;
	}

	.widget.wen_business_widget_testimonial .testimonial-widget {
		background-color: #ffffff;
		float: left;
		padding: 30px 20px;
		position: relative;
		width: 100%;
	}

	.testimonial-text-wrap:before {
		font-size: 26px;
		left: -33px;
		position: absolute;
		top: -9px;
	}

	.testimonial-item .testimonial-text-wrap {
		padding-top: 0;
	}

	.testimonial-widget .cycle-pager {
		display: block;
	}

	.col-sm-1,
	.col-sm-2,
	.col-sm-3,
	.col-sm-4,
	.col-sm-5,
	.col-sm-6,
	.col-sm-7,
	.col-sm-8,
	.col-sm-9,
	.col-sm-10,
	.col-sm-11,
	.col-sm-12 {
		float: left;
		width: 100%;
		display: block;
	}

	.entry-header .entry-title,
	.entry-header .entry-title a {
		font-size: 22px;
	}

	#footer-nav a {
		border: none;
	}
/*
	.site-branding {
		max-width: 100%;
	}

	.title-description-wrap {
		text-align: center;
		width: 100%;
	}

	.site-title {
		clear: inherit;
		display: inline-block;
		float: none;
	}

	.site-description {
		border: medium none;
		display: inline-block;
		float: none;
	}

	.show-tagline-separator .site-logo {
		float: none;
	}
*/
	#header-top-content {
		margin-bottom: 10px;
	}


	#mobile-trigger i.fa {
		font-size: 27px;
	}

	.logged-in #page>a#mobile-trigger {
		top: 60px;
	}

	#page>a#mobile-trigger {
		display: block;
		left: 22px;
		position: fixed;
		top: 19px;
		z-index: 99999;
	}

	.mm-opening .mm-page.mm-slideout #page {
		margin-top: 36px;
	}

	.mm-opening .mm-page.mm-slideout {
		display: block;
		position: fixed;
		top: 0 !important;
	}

	#secondary-navigation,
	#site-navigation {
		display: none;
	}

	.site-branding .site-logo {
		float: none;
		margin: 0;
		text-align: center;
	}

	.site-branding {
		width: 100%;
	}

	.tagline-below-title .site-description {
		float: none;
		text-align: center;
	}

	.special-pages-widget .col-sm-3 {
		width: 50%;
	}


	.global-layout-three-columns .special-pages-widget .col-sm-3 {
		width: 50%;
	}

}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (max-width:767px) and (min-width:480px) {}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width:479px) {
	#featured-slider .cycle-caption p {
		display: none;
	}

	.header-top {
		overflow: hidden;
		padding: 0 8px 10px;
		text-align: center;
		width: 205px;
	}

	.header-top .widget.wen_business_widget_social,
	.header-top #header-search-form {
		display: inline-block;
		margin: 0;
		width: 100%;
	}

	#featured-slider .cycle-caption {
		left: 5%;
		padding: 10px;
		width: 90%;
	}

	#featured-slider .cycle-caption h3,
	#featured-slider .cycle-caption h3 a {
		font-size: 14px;
		margin: 0;
	}

	.latest-news-widget .col-sm-3,
	.latest-news-widget .col-sm-2,
	.latest-news-widget .col-sm-5ths,
	#primary .latest-news-widget .row>div {
		clear: inherit;
		width: 100%;
	}

	div.latest-news-meta span.latest-news-comments {
		float: right;
	}

	#primary .latest-works-item {
		width: 50%;
	}

	.testimonial-widget .cycle-pager span {
		line-height: 0.5;
		width: 8px;
	}

	.testimonial-thumb {
		float: left;
		margin-right: 13px;
		width: 27%;
	}

	.testimonial-summary {
		font-size: 12px;
	}

	.testimonial-item .testimonial-text-wrap {
		padding-top: 0;
	}

	.testimonial-title {
		font-size: 12px;
		margin-bottom: 0;
	}

	.testimonial-title:before {
		font-size: 17px;
	}

	.testimonial-widget {
		padding: 12px 12px 35px;
	}

	.site-info>a {
		display: block;
	}

	.sep {
		display: none;
	}

	.col-sm-6 .latest-news-meta>span.latest-news-comments {
		float: right;
	}

	.latest-news-meta {
		font-size: 14px;
	}

	.col-sm-3 div.latest-news-meta span.latest-news-comments {
		float: right;
	}

	#featured-slider .cycle-caption {
		display: none;
	}

	.global-layout-three-columns #sidebar-primary,
	.global-layout-three-columns #sidebar-secondary {
		width: 100%;
	}

	.widget.wen_business_widget_testimonial:after,
	.widget.wen_business_widget_welcome:after,
	.widget.wen_business_widget_call_to_action:after {
		bottom: -20px;
		left: 0;
		width: 100%;
	}

	.service-block-item {
		margin-bottom: 30px;
		width: 100%;
	}

	.service-block-inner:after {
		bottom: -38px;
	}

	.call-to-action-buttons a {
		font-size: 21px;
		line-height: 1.5;
		margin: 15px 10px 7px;
		min-width: 100%;
		padding: 5px 26px;
	}

	#featured-slider .cycle-prev,
	#featured-slider .cycle-next {
		bottom: 9px;
	}

	.error404 #main .page-header {
		margin-bottom: 0;
	}

	.error-404 .page-title {
		font-size: 27px;
		font-weight: bold;
	}

	.text-404 {
		font-size: 79px;
	}

	#quick-links-404 ul li a {
		font-size: 15px;
		padding: 0 5px;
	}

	section.error-404 {
		padding-bottom: 20px;
	}

	#primary h3.widget-title {
		display: block;
		text-align: center;
	}

	#primary h3.widget-title span {
		width: 100%;
	}

	#featured-slider .cycle-caption {
		bottom: 24px;
		left: 5%;
		padding: 10px;
		width: 91%;
	}

	#featured-slider .cycle-caption {
		bottom: 16px;
		left: 15%;
		padding: 10px;
		width: 70%;
		max-height: 65px;
	}

	.testimonial-item .testimonial-text-wrap {
		width: 89%;
	}

	.testimonial-thumb {
		float: none;
		margin: 0 auto 20px;
		width: 36%;
	}

	.site-branding .site-description {
		border: medium none;
		margin: 0;
		padding: 0;
		width: 100%;
	}

	.site-title {
		width: 100%;
	}

	.site-branding {
		margin-bottom: 0;
	}

	.special-pages-widget .col-sm-3 {
		width: 100%;
	}

	.global-layout-left-sidebar .latest-news-widget .row>div,
	.global-layout-right-sidebar .latest-news-widget .row>div,
	.global-layout-right-sidebar .special-pages-widget .row>div,
	.global-layout-left-sidebar .special-pages-widget .row>div {
		width: 100%;
	}

	.global-layout-three-columns .special-pages-widget .col-sm-3 {
		width: 100%;
	}
}
