/* 
-------------------------------------------------------------------------------- 
	MAX WIDTH 1280
-------------------------------------------------------------------------------- 
*/
@media only screen and (max-width: 1280px) {
	.global-cards-wrap .feature-title {
		margin-left: 0;
	}
}

/* 
-------------------------------------------------------------------------------- 
	MAX WIDTH 1140
-------------------------------------------------------------------------------- 
*/
@media only screen and (max-width: 1140px) {

}


/* 
-------------------------------------------------------------------------------- 
	MAX WIDTH 1024
-------------------------------------------------------------------------------- 
*/
@media only screen and (max-width: 1024px) {
	.dropdown.menu > li.is-dropdown-submenu-parent > a {
		padding-right: 1.25rem;
	}
	.dropdown.menu > li > a {
		padding: 1.25rem 0.75rem;
	}
	.tab-nav-bg:before {
		display:none;
	}	
	.tab-nav-bg .feature-title span {
		width: auto;
	}
	.tab-nav-bg .vertical.tabs{
		background-color: hsl(60, 10%, 92%);
	}
	.tab-right-title {
		margin-bottom: 0;
		margin-top: 0;
	}
	.tabs-content {
		margin-bottom: 6rem;
		margin-top: 6rem;
	}
	.logo {
		padding: 1rem;
	}
	.logo a img {
		max-width: 178px;
	}
	.in-page-nav ul {
		grid-auto-flow: row;
	}
	.in-page-nav ul li {
		font-weight: 700;
		border-right: 2px solid hsl(60, 10%, 88%);
		border-left: 2px solid hsl(60, 10%, 88%);
		border-bottom: 2px solid hsl(60,10%,88%);
		padding: 0.5rem 0.5rem;
	}
	.in-page-nav ul li:last-child {
		border-bottom: 0;
	}
	.content-grid {
		display: grid;
		grid-gap: 10px;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 400px 320px;
		grid-template-rows:    repeat(3, 320px);
		background-color: hsl(0,0%,100%);
		color: hsl(0,0%,26.7%);
	}
	.content-grid  .content-grid-item {
			background-color: hsl(0,0%,26.7%);
			color: hsl(0,0%,100%);
			border-radius: 0;
			position:relative;
		}
		.content-grid-item:nth-of-type(1) {
			grid-column: 1 / 2;
			grid-row: 1 / 2;
		}
		.content-grid-item:nth-of-type(2) {
			grid-column: 2 / 3 ;
			grid-row: 1 / 2 ;
		}
		.content-grid-item:nth-of-type(3) {
			grid-column: 1 / 2;
			grid-row: 2 / 3;
		}
		.content-grid-item:nth-of-type(4) {
			grid-column: 2 / 3;
			grid-row: 2 / 3;
		}
		.content-grid-item:nth-of-type(5) {
			grid-column: 1 / 2;
			grid-row: 3 / 4;
		}
		.global-cards-wrap .list-summary {
			padding: 0 5rem 0 5rem;
		}
		.global-cards-wrap .list-card-inner .recent-section {
			padding-top: 0.5rem;
			padding-left: 5rem;
		}
		.global-cards-wrap .list-card-inner {
			background-color: transparent;
			background-size: 95%;
			background-position: 100% 0%;
			padding-top: 1rem;
		}
		.global-cards-wrap .feature-title {
			margin-left: 0;
			margin-bottom:0;
		}
		.aggregate-list-sub .hero-caption .hero-content, .aggregate-list-cmd-sub .hero-caption .hero-content {
			margin: 0 2rem 0 0;
		}
		.list-card-agl-inner {
			margin: -30vh 0 0;
		}
}




/* 
-------------------------------------------------------------------------------- 
	MAX WIDTH 960
-------------------------------------------------------------------------------- 
*/
@media only screen and (max-width: 960px) {
	.mobile-header {
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: center;
	}
	.menu-search {
		display: flex;
		align-items: center;
	}
	.mobile-search a {
		font-size: 1.5rem;
		margin-right: 1.5rem;
		color:hsl(0, 0%, 53%);
		transition:all 300ms ease-in-out;
	}
	.mobile-search a:hover {
		margin-right: 1.5rem;
		color:hsl(0, 0%, 88%);
	}
	.logo {
		padding: 1rem 0;
	}
	.menu-button {
	color:hsl(0,0%,100%);
	cursor:pointer;
	font-size:2rem;
	}
	.fxh-mobile-nav {
	background-color:hsl(0, 0%, 24%);
	position:fixed;
	width:100%;
	top:0;
	padding: 0 1.5rem;
	z-index:1000;
	box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
	}
	.fxh-mobile-nav ul {
	background-color:rgba(0,0,0,.1);
	display:none;
	margin:0 1rem;
	padding:0;
	position:relative;
	}
	.fxh-mobile-nav ul:first-child {
	background-color:transparent;
	}
	.fxh-mobile-nav ul li {
	border-top:1px solid rgba(255,255,255,.075);
	list-style:none;
	margin-bottom:0;
	position:relative;
	}
	.fxh-mobile-nav ul li a {
	color:hsl(0,0%,100%);
	display:inline-block;
	font-size:1rem;
	padding:1rem 0;
	text-decoration:none;
	width:100%;
	}
	.fxh-mobile-nav ul ul {
	  margin: 0 0 1.5em 0;
	  border-radius: 4px;
	}
	.fxh-mobile-nav ul ul li {
	border-top:none;
	padding-left:1rem;
	}   
	.primary-nav {
		display: none;
	}
	.recent-box {
		display: flex;
		flex-wrap: wrap;
	}
	.recent-img {
		width: 100%;
		padding: 0 0 1.5rem 0;
	}
	.aggregate-ss-card-item-wrap {
		grid-template-columns: repeat(2, 1fr);
	}
	.aggregate-list-sub .hero-caption .hero-content, .aggregate-list-cmd-sub .hero-caption .hero-content {
		margin: 0 1rem 0 0;
	}
	.hero-caption {
		margin-top: 2rem;
	}
	.mobile-language-switcher {
		margin-right:1.5rem;
	}
	.mobile-language-switcher a {
		color: hsl(0,0%,52.9%);
		font-weight:bold;
		padding:0 0.25rem;
	}
	.mobile-language-switcher a:hover {
		color: hsl(0,0%,97.3%);
	}
	.mobile-language-switcher .current a {
		color: hsl(356, 91%, 47%);
	}
	.list-ac-card-section .list-ac-card-item-bottom, .list-ac-card-section:nth-of-type(2n) .list-ac-card-item-bottom {
		grid-column: 4 / -1;
	}
	.list-ac-card-section .list-ac-card-item-top, .list-ac-card-section:nth-of-type(2n) .list-ac-card-item-top {
		grid-column: 1 / span 10;
	}
	.list-card.triple-card .list-card-item-wrap {
		display: grid;
		grid-gap: 20px;
		grid-template-columns: 1fr 1fr;
	}
	.list-ac-card-section:nth-of-type(2n) .single-list-ac-card-content-wrap:before {
		content: "";
		left: -15px;
		right: auto;
	}
  }


/* 
-------------------------------------------------------------------------------- 
	MAX WIDTH 768
-------------------------------------------------------------------------------- 
*/

 @media only screen and (max-width: 768px) {
	.languages {
		width: 100%; 
		margin-bottom: 1em;
	}
	.breadcrumbs {
		margin-bottom: 1em;
		margin-top: 0;
	}
	.align_left, .align_right, .align_center {
		display: block;
		float: none; 
		margin: 1em auto;
		max-width: 100%; 
	}
	.content-grid {
		display: grid;
		grid-gap: 10px;
		grid-template-columns: 1fr;
		grid-template-rows: repeat(5, 440px);
		background-color: hsl(0,0%,100%);
		color: hsl(0,0%,26.7%);
	}
	.content-grid  .content-grid-item {
			background-color: hsl(0,0%,26.7%);
			color: hsl(0,0%,100%);
			border-radius: 0;
			position:relative;
		}
		.content-grid-item:nth-of-type(1) {
			grid-column: 1 / 2;
			grid-row: 1 / 2;
		}
		.content-grid-item:nth-of-type(2) {
			grid-column: 1 / 2 ;
			grid-row: 2 / 3 ;
		}
		.content-grid-item:nth-of-type(3) {
			grid-column: 1 / 2;
			grid-row: 3 / 4;
		}
		.content-grid-item:nth-of-type(4) {
			grid-column: 1 / 2;
			grid-row: 4 / 5;
		}
		.content-grid-item:nth-of-type(5) {
			grid-column: 1 / 2;
			grid-row: 5 / 6;
		}
		.list-card.duo-card .list-card-item-wrap {
			grid-template-columns: repeat(1, 1fr);
		}
		.aggregate-list-sub .hero-caption .hero-content, .aggregate-list-cmd-sub .hero-caption .hero-content {
			margin: 0 0.5rem 0 0;
		}
		.aggregate-list-sub .single-list-card-content-wrap, .aggregate-list-cmd-sub .single-list-card-content-wrap {
			margin-top: 9rem;
		}
		.aggregate-list-sub .list-card-item-bottom, .aggregate-list-cmd-sub .list-card-item-bottom {
			grid-column: 4 / -1;
		}
		.aggregate-list-sub  .list-card-item-top, .aggregate-list-cmd-sub .list-card-item-top {
			grid-column: 1 / span 10;
		}
		.list-ac-card-section .list-ac-card-item-top, .list-ac-card-section:nth-of-type(2n) .list-ac-card-item-top {
			grid-column: 1 / span 8;
			grid-row: 1;
		}
		.list-ac-card-section .list-ac-card-item-bottom, .list-ac-card-section:nth-of-type(2n) .list-ac-card-item-bottom {
			grid-column: 3 / -1;
			grid-row: 2;
		}
		.list-card.triple-card .list-card-item-wrap {
			grid-template-columns: 1fr;
		}
		.list-card-wrapper {
			padding-right: 0;
			box-sizing: border-box;
		}
		.content-grid-item:nth-of-type(1) .content-grid-inner .feature-title span {
			font-size: 0.85rem;
		}
		.content-grid-item:nth-of-type(1) .content-grid-inner .content-grid-text {
			display: none;
		}
		.global-cards-wrap .list-card-inner {
			background-color: transparent;
			background-size: auto 35%;
			background-position: 50% 0%;
		}
}

/*
-------------------------------------------------------------------------------- 
	MAX WIDTH 640
-------------------------------------------------------------------------------- 
*/

 @media only screen and (max-width: 640px) {
	.contact-form {
		margin-right: 0;
	}
	.map-section {
		margin: 2.25rem 0 0 0;
	}
	.footer-nav {
		text-align: center;
		margin: 2rem 0;
	}
	ul.social {
		text-align: center;
		display: block;
	}
	.article-submit {
		text-align: center;
		margin-top: 3rem;
	}
	.legal-nav {
		text-align: center;
		margin-top: 0.5rem;
	}
	.cmd-msg-img {
		margin-top: -3rem;
		position: relative;
		margin-right: 0;
		margin-bottom: 2.5rem;
		display: inline-block;
	}
	.cmd-msg-icon {
		text-align: left;
	}
	.intro-section.content {
		padding: 5rem 0 6rem;
	}
	.content-grid {
		grid-template-rows:    repeat(5, 380px);
	}  
	.aggregate-ss-card-item-wrap {
		grid-template-columns: repeat(1, 1fr);
	} 
	.feature-title.tab-right-title {
		position: absolute;
		top: -31px;
		left: -1px;
		font-size: 1.25rem;
	}
	.list-ac-card-section .list-ac-card-item-top, .list-ac-card-section:nth-of-type(2n) .list-ac-card-item-top {
		grid-column: 1 / span 12;
		grid-row: 1;
	}
	.list-ac-card-section .list-ac-card-item-bottom, .list-ac-card-section:nth-of-type(2n) .list-ac-card-item-bottom {
		grid-column: 1 / -1;
		grid-row: 2;
	}
	.list-ac-card-section .list-ac-card-item-bottom .single-list-ac-card-content-wrap:before {
		display:none;
	}
	.aggregate-list-sub .list-card-agl-inner .list-card-item-top, .aggregate-list-cmd-sub .list-card-agl-inner .list-card-item-top {
		grid-column: 1 / span 12;
		grid-row:1;
	}
	.aggregate-list-sub .list-card-agl-inner .list-card-item-bottom, .aggregate-list-cmd-sub .list-card-agl-inner .list-card-item-bottom {
		grid-column: 1 / -1;
		grid-row: 2;
	}
	.aggregate-list-sub .list-card-agl-inner .list-card-item-bottom .single-list-card-content-wrap, 
	.aggregate-list-cmd-sub .list-card-agl-inner .list-card-item-bottom .single-list-card-content-wrap {
		margin-top: 0;
	}
	.aggregate-list-sub .list-card-agl-inner .single-list-card-item .list-card-item-bottom .single-list-card-content-wrap:before, 
	.aggregate-list-cmd-sub .list-card-agl-inner .single-list-card-item .list-card-item-bottom .single-list-card-content-wrap:before {
		display:none;
	}
	.footer-logo-reverse {
		text-align: center;
	}
	.cmd-msg-wrapper.article-content-msg:nth-child(even) .cmd-msg-img {
		margin: 0;
	}
	.logo a img {
		max-width: 125px;
	}
	.mobile-language-switcher {
		margin-right: 1rem;
	}
}


/*
-------------------------------------------------------------------------------- 
	MAX WIDTH 480
-------------------------------------------------------------------------------- 
*/
@media only screen and (max-width: 480px) {
	.content-grid {
		grid-template-rows:    repeat(5, 320px);
	}
	.list-ac-card-section .list-ac-card-item-top {
		grid-column: 1 / span 11;
		grid-row: 1;
	}
	.list-ac-card-section .list-ac-card-item-bottom {
		grid-column: 1 / -1;
		grid-row: 2;
	}
	.single-list-ac-card-footer .button-group {
		justify-content:flex-start;
	}
}


/* 
-------------------------------------------------------------------------------- 
	MIN WIDTH 1200
-------------------------------------------------------------------------------- 
*/
@media only screen and (min-width: 1200px) {
	.content-grid {
		grid-template-columns: 2fr 1fr 1fr;
		grid-template-rows: 300px 240px;
	}	
}


/* 
-------------------------------------------------------------------------------- 
	MIN WIDTH 961
-------------------------------------------------------------------------------- 
*/
@media only screen and (min-width:961px) {
	.fxh-mobile-nav {
	  display:none;
	}
  }