/*
 * Custom Responsive styles
 */

@media only screen and (max-width: 1140px) {

.w-clients {
	padding: 0 40px;
	}
	.w-clients-nav.to_next {
		right: -60px;
		}
	.w-clients-nav.to_prev {
		left: -60px;
		}
}
	
@media only screen and (max-width: 1023px) {

.l-subheader.at_top {
	height: auto;
	text-align: center;
	}
	.l-subheader.at_top .w-lang,
	.l-subheader.at_top .w-socials {
		float: none;
		display: inline-block;
		vertical-align: top;
		margin: 0 10px;
		}
	.l-subheader.at_top .w-contacts {
		float: none;
		display: inline-block;
		vertical-align: top;
		margin: 0;
		}
		.l-subheader.at_top .w-contacts-item.for_phone,
		.l-subheader.at_top .w-contacts-item.for_email {
			margin: 0 10px;
			}
			
.l-subheader.at_middle {
	height: auto;
	}	

.l-canvas.headerpos_fixed .l-header {
	position: relative;
	}
.l-canvas.headerpos_fixed .l-main {
	padding-top: 0;
	}
	.l-canvas.headerpos_fixed.headertype_extended .l-main {
		padding-top: 0;
		}

.l-submain {
	padding-top: 40px;
	padding-bottom: 40px;
	}
	.l-submain.for_pagehead {
		padding-top: 15px;
		padding-bottom: 15px;
		}
	.l-submain.for_filters {
		padding-top: 0;
		padding-bottom: 0;
		}
	.l-submain.type_fullwidth {
		padding: 0;
		}
.l-subfooter.at_top {
    padding-top: 40px;
    padding-bottom: 10px;
	}
.l-subfooter.at_bottom {
    padding-top: 25px;
    padding-bottom: 0;
	text-align: center;
	}
	.l-subfooter.at_bottom .w-copyright,
	.l-subfooter.at_bottom .w-nav {
		float: none;
		margin-bottom: 20px;
		}
		.l-subfooter.at_bottom .w-nav-list {
			display: inline-block;
			float: none;
			}
		.ssl {
	
	float: none;
margin-bottom: 20px; margin-right:0px;
display: inline-block;
	}
	

.g-hr {
    margin: 30px 0;
	}
	.g-hr.size_big {
		margin: 40px 0;
		}
	.g-hr.type_invisible {
		margin: 10px 0;
		}
		.g-hr.type_invisible.size_small {
			margin: 0;
			}
		.g-hr.type_invisible.size_big {
			margin: 20px 0;
			}
		
.g-btn.size_big,
input.g-btn.size_big,
button.g-btn.size_big {
	padding: 10px 30px;
	font-size: 14px;
	}

.w-pagehead p {
	display: none;
	}
	
.l-subheader.at_middle .w-search-form {
	height: 90px;
	}

.flex-direction-nav .flex-prev {
	left: 10px;
	}
.flex-direction-nav .flex-next {
	right: 10px;
	}
}

@media only screen and (max-width: 899px) {

.l-subfooter.at_top p a:hover,
.l-subfooter.at_top li a:hover,
.l-subfooter.at_bottom a:hover,
.g-html p a:hover,
.g-html li a:hover,
table.g-table th a:hover,
table.g-table td a:hover,
.w-actionbox-text a:hover,
.w-blog-entry-meta a:hover,
.w-blogpost-meta a:hover,
.w-linklist-entry-link:hover,
.w-linklist.date_atbottom .w-linklist-entry-link:hover,
.w-comments-item-text a:hover,
.w-comments-item-answer:hover,
.w-contacts a:hover,
.w-iconbox-text .w-iconbox-text-link:hover span,
.g-breadcrumbs a:hover,
.w-shortblog-entry-link:hover .w-shortblog-entry-title-h {
	border-bottom: none;
	}

.w-gallery-tnail-title {
	display: none;
	}
	
.w-team-member-image {
	height: 100%;
	padding-bottom: 0;
	}
	.w-team-member-links {
		position: relative;
		}
	.w-team-member:hover .w-team-member-links {
		box-shadow: none;
		}	
		.w-team-member-links-list,
		.w-team-member:hover .w-team-member-links-list {
			display: block;
			filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100); /* hack for IE8 */
			opacity: 1;
			}
			.w-team-member-links-item {
				font-size: 18px;
				line-height: 36px;
				height: 36px;
				width: 36px;
				margin: 5px 2px;
				}
.w-team-member-meta {
	padding-top: 0;
	}

}

@media only screen and (max-width: 767px) {

.l-sidebar, .l-sidebar.at_right {
	float: none !important;
	width: 100% !important;
	}
.l-content {
	float: none !important;
	width: 100% !important;
	padding-bottom: 30px;
	}

.l-subfooter.at_top {
    padding-bottom: 5px;
	}
	.l-subfooter.at_top .g-cols > div {
		margin-bottom: 10px;
		}
		
.g-cols:last-child > div.full-width {
	margin-bottom: 0;
	}

table.g-table > thead > tr > td,
table.g-table > thead > tr > th,
table.g-table > tbody > tr > th,
table.g-table > tbody > tr > td,
table.g-table > tfoot > tr > td {
	padding: 10px;
	}
	
.g-pagination-item {
	width: 36px;
	}
.g-pagination-item.to_next {
	padding: 0 25px 0 10px;
	}
	.g-pagination-item.to_next:before {
		right: 10px;
		}
.g-pagination-item.to_prev {
	padding: 0 10px 0 25px;
	}
	.g-pagination-item.to_prev:before {
		left: 10px;
		}

.w-filters-item-link {
    height: 37px;
    line-height: 37px;
    padding: 0 10px;
	border: none;
	}

.l-subheader.at_middle .w-nav {
	float: none;
	clear: both;
	line-height: 90px;
	}
	.w-nav-select-h {
		margin: 0;
		max-width: 100%;
		}
	
.w-pagehead .g-breadcrumbs {
    float: none;
	clear: both;
    font-size: 13px;
    margin: 8px 0 0;
	}

.l-subheader.at_middle .w-search-input input {
	font-size: 16px;
	padding-right: 30px;
	}
.l-subheader.at_middle .w-search-submit {
	display: none;
	}
	


.page-404 i {
	font-size: 100px;
	}
	
.tp-caption .g-btn {
	display: none;
	}
	
.w-toplink {
	display: none;
	}
.reportnav {display:none;}

	.group .difference-mobile  {display:block; padding-left:30px; margin:0 auto;}
	.group .difference  {display:none;}

}



@media only screen and (max-width: 599px) {

.l-submain,
.l-subheader.at_top,
.l-subheader.at_middle,
.l-subfooter.at_top,
.l-subfooter.at_bottom,
.l-submain.for_pagehead,
.l-submain.for_filters {
	padding-left: 25px;
	padding-right: 25px;
	}
	
.l-subheader.at_top {
	line-height: 30px;
	}
	
.l-submain {
	padding-top: 25px;
	padding-bottom: 25px;
	}

.l-subfooter.at_bottom .w-nav-list.layout_hor.width_auto > .w-nav-list-h > .w-nav-item {
	float: none;
	margin-bottom: 10px;
	}
	div.monthselector .formgroup {
	max-width:50%;
	padding-right:20px;
	margin-top:-20px;
	margin-bottom:10px;
	}
.monthselector #btnShow {margin-top:20px;}
.one-fourth {margin-bottom:0px;}
 .three-quarters {margin-bottom:0px;}
}

@media only screen and (max-width: 479px) {
.l-sidebar .widget.supporting {
	float:none;
	border-top: 1px solid #e9b22c;
	margin-top: 0;
	
	
	}
	.w-actionbox-text h3 img {display:block; width:100%; padding-bottom:10px; float:none;}
	.w-actionbox-text h3 {width:100%; padding-bottom:10px;}	
.l-submain.account-forms {padding:10px 0;}
.w-actionbox.controls_aside .w-actionbox-controls {
	white-space: normal;
	}
	.w-actionbox.controls_aside .w-actionbox-button.g-btn {
		margin: 10px 5px 0;
		}
		.w-actionbox.controls_aside .w-actionbox-button.g-btn:first-child {
			margin-left: 5px;
			margin-top: 0;
			}

.w-pagehead h1 {
	float: none;
	text-align: center;
	}
.w-pagehead .g-breadcrumbs {
	display: none;
	}
.w-pagehead-nav {
	float: none;
	margin-top: 12px;
	}
	.w-pagehead-nav .w-pagehead-nav-h .w-pagehead-nav-item {
		margin-left: 3px;
		margin-right: 3px;
		}
		
		.c-signin {
	
	font-size:100%;
	font-weight:bold;
	color:#fff;
	width:100%;
	margin: 0 auto;
	float:none;
	display:block;
	text-align:center;
	}
	.s-signin {
	
	font-size:100%;
	font-weight:bold;
	color:#fff;
	width:100%;
	margin: 0 auto;
	float:none;
	display:block;
	text-align:center;
	}
	#safeway-renewal div.renew {
		
		float:none !important;
		padding-left:0px;
		margin:0 auto;
		display:block;
		}
		#safeway-renewal h3 {
			display:block;
		}
	.one-fourth {margin-bottom:0px;}
 .three-quarters {margin-bottom:0px;}
 .online-btn {
	float:none;
	
	}
}
