/*===================================================Header=======================================*/
/*===Features news header slider===*/
.aa_featured_news_wrapper {
	background: #383a40;
	padding: 30px 0;
	height: 566px;
}

.aa_f_n_active_block {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
}

.aa_f_n_image,
.aa_f_n_next_image {
	border-radius: 5px;
	position: absolute;
	background-size: cover !important;
	background-position: center center !important;
	width: 100%;
	height: 506px;
	z-index: 2;
}

.aa_f_n_next_image {
	z-index: 1;
}

.aa_f_n_image_overlay {
	border-radius: 5px;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background-image: url('/wp-content/themes/aa/images/home_slider_overlay.png');
}

.aa_f_n_content_wrapper {
	height: 506px;
	max-width: 1200px;
	position: relative;
	margin: 0 auto;
	z-index: 2;
}

.aa_f_n_content {
	position: absolute;
	overflow: hidden;
	bottom: 59px;
	border-left: 4px solid rgba(255, 255, 255, 0.35);
	margin-left: 49px;
	padding-left: 30px;
	width: 50%;
}

.aa_f_n_title a,
.aa_f_n_title {
	color: #fff;
	font-family: Lato Heavy, sans-serif;
	font-size: 60px;
	letter-spacing: -0.025em !important;
	line-height: 60px;
	margin: 0 0 6px;
}

.aa_f_n_excerpt {
	font-family: 'Proximanova Semibold', sans-serif;
	font-size: 16px;
	color: #fff;
	line-height: 30px;
	margin-bottom: -4px;
	letter-spacing: -0.035em;
}

/*-.aa_f_n_nav-*/
.aa_f_n_nav {
	display: none;
}

/*.aa_f_n_controls*/
.aa_f_n_controls {
	display: block;
	position: absolute;
	right: -34px;
	top: 50%;
	margin-top: -26px;
}


.aa_f_n_item {
	display: block;
	width: 8px;
	height: 8px;
	background: #dce0e5;
	border-radius: 50%;
	margin: 13px 0;
	cursor: pointer;
}

.aa_f_n_item.active {
	width: 12px;
	height: 12px;
	background: #1eadd6;
	margin-left: -2px;
}
/*.aa_f_n_controls*/

@media only screen and (max-width : 1440px) {
	.aa_f_n_prev {
		left: 20px;
	}

	.aa_f_n_next {
		right: 20px;
	}
}

@media only screen and (max-width : 1330px) {
	.aa_f_n_content_wrapper {
		padding-left: 110px;
		padding-right: 110px;
	}

	.bottom-loop-info {
		padding-left: 110px;
	}
}

/*---End Features news header slider---*/

@media only screen and (max-width : 991px) {
	/* features news slider */
	.aa_f_n_active_block {
		height: 366px;
		overflow: hidden;
	}

	.aa_f_n_content {
		max-height: 112px;
	}

	.aa_header_videos .col-md-12 {
		padding-left: 0;
		padding-right: 0;
	}

	.aa_f_n_title {
		margin-bottom: 12px;
	}

	.aa_f_n_title a,
	.aa_f_n_title {
		font-family: Lato Heavy, sans-serif;
		font-size: 24px;
		color: #fff;
	}

	.aa_f_n_controls ul li {
		border: 2px solid rgba(255, 255, 255, 1);
		width: 10px;
		height: 10px;
	}

	.aa_f_n_controls ul li.active {
		border-color: rgba(140, 196, 52, 1);
		background: rgba(140, 196, 52, 1); 
	}

	.aa_f_n_nav {
		position: absolute;
		border: none;
		height: 54px;
		width: 54px;
		border-radius: 50%;
		background: rgba(0, 0, 0, 0.4);
	}

	.aa_f_n_nav:before {
		border-color: #fff;
	}

	.aa_f_n_prev {
		left: 16px;
	}

	.aa_f_n_next {
		right: 16px; 
	}
}

@media only screen and (max-width : 603px) {
	.aa_f_n_active_block,
	.aa_f_n_image_wrapper,
	.aa_f_n_image,
	.aa_f_n_content_wrapper,
	.aa_f_n_next_image {
		height: 197px;
	}

	.aa_f_n_content_wrapper {
		position: absolute;
		bottom: 0;
		padding: 0;
		height: 98px;
		background-color: rgba(0, 0, 0, 0.5);
	}

	.aa_f_n_image_overlay {
		height: 198px;
		background: url('/wp-content/themes/aa/images/home_slider_mobile_overlay.png');
		border-bottom: none;
	}

	.aa_f_n_next,
	.aa_f_n_prev,
	.aa_f_n_content .aa_item_info_block {
		display: none;
	}

	.aa_f_n_cat_block {
	display: inline-block;
	top: -143px;
	position: absolute;
	left: 22px;
	padding: 7px 12px;
}

	.aa_f_n_content_wrapper .aa-item-description.aa_item_time {
		display: none;
	}

	.aa_f_n_content_wrapper .aa-item-description.aa_item_comments {
		margin-left: 20px;
	}

	.aa_f_n_title a,
	.aa_f_n_title {
		font-family: Lato Heavy, sans-serif;
		font-size: 18px;
		line-height: 1.25em;
		color: #fff;
		text-align: left;
		text-shadow: 1px 1px 1px rgba(0,0,0,.2);
	}

	.aa_f_n_title {
		padding-top: 0;
		height: 75px;
	}

	.f_n_title_span {
		max-height: 45px;
		overflow: hidden;
		display: block;/* is overflow hidden part */
	}

	.aa_f_n_controls {
		bottom: 20px;
	}

	.aa_f_n_controls ul li {
		width: 8px;
		height: 8px;
		margin: 0 4px;
	}

	.aa_f_n_controls ul {
		padding: 0 0 9px;
	}

	.aa_f_n_content {
		padding: 0 20px;
		height: 100%;
		max-height: 65px;
	}

	.aa_f_n_content_wrapper .bottom-loop-info {
		right: 0;
		text-align: left;
		padding-left: 0;
		bottom: 16px;
	}
}

/* Header featured posts widget */
.aa_hfp_wrapper {
	position: relative;
	height: 516px;
}

.aa_hfp_container {
	margin: 10px 0 0 10px;
	width: calc( 25% - 8px );
	float: left;
	height: calc( 50% - 5px );
	position: relative;
}

.aa_hfp_container:nth-child(1),
.aa_hfp_container:nth-child(2) {
	width: calc( 50% - 5px );
}

.aa_hfp_container:nth-child(1) {
	height: 100%;
	margin-left: 0;
}

.aa_hfp_image {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-size: cover;
}

.aa_hfp_container .bottom-loop-info {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 0 18px 10px;
}

.aa_hfp_title {
	max-height: 70px;
	overflow: hidden;
	margin: 4px 0 13px 0;
	line-height: 34px;
	font-family: Lato Heavy, sans-serif;
	font-size: 26px;
	letter-spacing: -0.045em;
	text-shadow: 1px 2px 2px rgba(0,0,0,.17);
	-webkit-text-shadow: 1px 2px 2px rgba(0,0,0,.17);
	color: #FFF;
}

.aa_hfp_container.active .aa_hfp_title {
	color: #FFF !important;
}

.aa_hfp_container:nth-child(2) .aa_hfp_title {
	max-height: 75px;
	margin: 3px 0 10px 0;
	padding-bottom: 4px;
	font-size: 28px;
	line-height: 35px;
	letter-spacing: -0.012em;
}

.aa_hfp_container:nth-child(1) .aa_hfp_title {
	max-height: 100px;
	margin-bottom: 14px;
	margin-top: 12px;
	line-height: 48px;
	padding-bottom: 6px;
	font-size: 40px;
	letter-spacing: -0.044em;
}

.aa_hfp_container:nth-child( 2 ) .bottom-loop-info {
	padding: 0 18px 11px;
}

.aa_hfp_container:nth-child( 1 ) .bottom-loop-info {
	padding: 0 18px 25px 35px;
}

.aa_hfp_container .aa-item-description,
.aa_hfp_container .aa-item-description a {
	font-family: Lato Heavy, sans-serif;
	color: #FFF !important;
	font-size: 14px;
	z-index: 5;
}

.aa_hfp_container .excerpt {
	font-family: 'Proximanova Semibold', sans-serif;
	font-size: 16px;
	color: #ccc;
	line-height: 24px;
	letter-spacing: -0.011em;
	margin-bottom: 23px;
}

.aa_hfp_author:after {
	content: '.';
	font-size: 22px;
	position: absolute;
	top: -13px;
	right: -14px;
}

.aa_hfp_category {
	position: absolute;
	z-index: 6;
	font-family: Lato Heavy, sans-serif;
	font-size: 68px;
	color: #FFF;
	left: 34px;
	top: 25px;
	letter-spacing: -0.01em;
	text-shadow: 2px 3px 1px rgba(20,114,126,.59);
	text-transform: uppercase;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.10);
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
	background-size: 100% 100%;
	background-repeat: no-repeat;
}

.aa_hfp_container .overlay {
	background-image: url( '../images/dark_overlay.png' );
}

.aa_hfp_container:not(:nth-child(1)) .overlay:before {
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: url( '../images/hfp_overlay.png' );
	background-size: cover;
}

.aa_hfp_container.active .overlay {
	opacity: .35;
}

/*container*/
.aa_hfp_container .aa_cat_name_block {
	z-index: 5;
	position: relative;
}

.aa_hfp_container:not(:nth-child(1)) .aa_cat_name_block {
	background-color: transparent;
	opacity: .6;
	padding: 0;
	font-size: 14px !important;
	height: auto;
	letter-spacing: -0.04em;
}

.aa_hfp_container:first-child .aa_cat_name_block {
	background: #1b93a6;
	line-height: 20px;
}

.category .aa_hfp_container .aa_cat_name_block,
.aa_hfp_container:not(:nth-child( 1 )) .aa-item-description {
	display: none;
}

/* Mobile */
.aa_mobile_device .aa_header_hero .container-inner {
	padding: 0;
}

.aa_mobile_device .aa_hfp_container .excerpt {
	display: none;
}

.aa_mobile_device .aa_hfp_wrapper {
	height: 197px;
	white-space: nowrap;
	width: 100vw;
	overflow-x: scroll;
	font-size: 0;
	margin-bottom: 10px;
	margin-top: 10px; 
}

.aa_mobile_device .aa_hfp_container .aa-item-description,
.aa_mobile_device .aa_hfp_container .aa-item-description a {
	font-family: Lato Heavy, sans-serif;
	font-size: 13px;
}

.aa_mobile_device .aa_hfp_container {
	display: inline-block;
	white-space: normal;
	width: calc(100vw - 20px );
	margin: 0 10px;
	float: none;
	height: 100%;
}

.aa_mobile_device .aa_hfp_container .bottom-loop-info {
	padding: 0 11px 14px 11px;
}

.aa_mobile_device .aa_hfp_container .aa_cat_name_block {
	padding: 0 9px;
	height: auto;
	position: relative;
	font-size: 10px !important;
	letter-spacing: 0.025em;
}

.aa_mobile_device .aa_hfp_container .aa_hfp_title {
	margin-top: 5px;
	margin-bottom: 3px;
	font-size: 22px;
	line-height: 23px;
	font-family: Lato Heavy, sans-serif;
	letter-spacing: -0.025em;
}

.aa_mobile_device .aa_hfp_container .aa-item-description {
	display: inline-block;
}

.aa_mobile_device .aa_hfp_category {
	font-size: 26px;
	top: -9px;
	left: 12px;
}

.aa_mobile_device .aa_hfp_container .aa_item_comments {
	display: none;
}

/* End mobile */

/* End header featured posts widget */
/*===================================================Header=======================================*/

/*===New design home header===*/
.sg-home-header-container {
	max-width: 1560px;
	margin: 0 auto;
	padding-top: 96px;
	position: relative;
}

#sg-logo {
	display: block;
	width: 614px;
	height: 148px;
	margin: 0 auto;
	background-image: url(../images/aa_logo_new.svg);
	position: relative;
	z-index: 2;
}

#sg-logo:before {
	content: '';
	position: absolute;
	width: 763px;
	height: 233px;
	top: -40px;
	left: -70px;
	background-image: url(../images/top_logo_pattern.png);
}

body.sticky-search-bar #sg-logo {
	opacity: .5;
	z-index: 13;
	pointer-events: none;
}

#sg-home-header #search-toggle {
	height: 74px;
	width: 745px;
	background-color: rgba(255, 255, 255, 0.1);
	opacity: 1;
	margin: 59px auto 0;
	font-family: 'Proximanova Semibold', sans-serif;
	color: #fff;
	line-height: 74px;
	font-size: 18px;
	padding: 0 20px;
	float: none;
	text-align: left;
	letter-spacing: -0.01em;
	position: relative;
}

body.sticky-search-bar #search-toggle {
	visibility: hidden;
}

#sg-home-header #search-toggle span {
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	width: 74px;
	height: 100%;
	background: rgba(255, 255, 2555, 0.05);
	text-align: center;
}

#sg-home-header #search-toggle span:before {
	content: '\e920';
	font-size: 18px;
}

#sg-home-header .aa-sticky-search-wrapper {
	margin-top: 59px;
	margin-left: 0;
	width: 100%;
	float: none;
}

.sg-header-menu-wrapper {
	border-top: 3px solid rgba(255, 255, 255, 0.1);
	margin-top: 63px;
}

#sg-home-header #section-menu {
	margin-left: 0;
}

#sg-home-header #section-menu > ul > li > a {
	padding-top: 28px!important;
}

#sg-home-header .aa_sticky_dgit_logo {
	font-family: Lato Heavy, sans-serif;
	font-size: 13px;
	padding: 35px 24px 0 38px;
}

#sg-home-header .aa_sticky_dgit_logo:before {
	top: 29px;
}

#sg-home-header .aa_sticky_dgit_logo:after {
	right: 4px;
	top: 39px;
}

/*Search autocomplete*/
.search-featured {
	margin-top: 25px;
}

.search-featured .overlay-panel {
	width: 367px;
	height: 290px;
	float: left;
	margin-right: 30px;
}

.search-featured .overlay-panel:last-child {
	margin-right: 0;
}

.search-featured .overlay-panel .article-image-wrapper {
	height: 100%;
	border-radius: 6px;
}

.search-featured .overlay {
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.2) -1%, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.21) 1%, rgba(1,6,7,0.22) 2%, rgba(2,20,22,0.25) 8%, rgba(4,35,39,0.3) 16%, rgba(5,45,49,0.34) 23%, rgba(6,57,63,0.41) 36%, rgba(8,74,81,0.6) 68%, rgba(9,81,90,0.78) 100%);
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0.2) -1%,rgba(0,0,0,0.2) 0%,rgba(0,0,0,0.21) 1%,rgba(1,6,7,0.22) 2%,rgba(2,20,22,0.25) 8%,rgba(4,35,39,0.3) 16%,rgba(5,45,49,0.34) 23%,rgba(6,57,63,0.41) 36%,rgba(8,74,81,0.6) 68%,rgba(9,81,90,0.78) 100%);
	background: linear-gradient(to bottom,  rgba(0,0,0,0.2) -1%,rgba(0,0,0,0.2) 0%,rgba(0,0,0,0.21) 1%,rgba(1,6,7,0.22) 2%,rgba(2,20,22,0.25) 8%,rgba(4,35,39,0.3) 16%,rgba(5,45,49,0.34) 23%,rgba(6,57,63,0.41) 36%,rgba(8,74,81,0.6) 68%,rgba(9,81,90,0.78) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33000000', endColorstr='#c709515a',GradientType=0 );
}

.search-featured .article-title {
	font-size: 30px;
}

.search-featured .article-info {
	position: absolute;
	bottom: 0;
	padding: 0 41px 33px 21px;
}

.search-featured .article-title {
	font-size: 30px;
	height: 64px;
	max-height: 64px;
	line-height: 36px;
	color: #fff;
}

.search-featured .article-info:before {
	content: '';
	height: 4px;
	width: 67px;
	position: absolute;
	background: rgba(255, 255, 255, 0.35);
	top: -20px;
}

.aa_mobile_device .search-featured {
	display: none;
}

@media only screen and (max-width : 1560px) {
	.search-featured {
		display: none;
	}
}

/*mobile*/
.aa_mobile_device #sg-home-header:before {
	background-size: 100%;
}

.aa_mobile_device .sg-home-header-container {
	padding-top: 24px;
}

.aa_mobile_device #sg-logo {
	width: 150px;
	height: 20px;
	margin: 0;
	z-index: 2;
	background-size: 201px 48px;
	background-position: 100% 48%;
	margin-left: 11px;
	float: left;
}

.aa_mobile_device #sg-home-header #search-toggle {
	height: 57px;
	width: 54px;
	background-color: transparent;
	margin: 0;
	line-height: 57px;
	padding: 0;
	float: none;
	color: transparent;
	overflow: hidden;
	float: right;
	margin-top: -24px;
}

.aa_mobile_device #sg-home-header #search-toggle span {
	width: 54px;
	background: transparent;
}

.aa_mobile_device .sg-header-menu-wrapper {
	margin-top: 0;
	border-width: 2px;
}
/*===End New design home header===*/

/*===Featured Posts widget===*/
.sg_featured_posts_wrapper {
	margin: 30px 0;
	overflow-x: hidden;
	white-space: nowrap;
}

.sg_fp_container {
	position: relative;
	width: 35.9%;
	height: 500px;
	display: block;
	float: left;
	white-space: normal;
	border-radius: 5px;
	margin-right: 1.9%;
}

.sg_featured_posts_wrapper.archive .sg_fp_container {
	width: 48.7%;
	margin-right: 2.6%;
	height: 360px;
}

.sg_featured_posts_wrapper.home .sg_fp_container:last-child {
	width: 24.4%;
	margin-right: 0;
}

.sg_featured_posts_wrapper.archive .sg_fp_container:last-child {
	margin-right: 0;
}

.sg_fp_container .bottom-loop-info {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 0 51px 0 55px;
	bottom: 37px;
}

.sg_featured_posts_wrapper.archive .sg_fp_container .bottom-loop-info {
	padding: 0 51px 0 53px;
	bottom: 48px;
}

.sg_featured_posts_wrapper.home .sg_fp_container:last-child .bottom-loop-info {
	padding: 0 30px 0 23px;
	bottom: 26px;
}

.sg_fp_container .bottom-loop-info:before {
	content: '';
	display: block;
	position: absolute;
	width: 4px;
	height: 100%;
	left: 26px;
	background: rgba(255, 255, 255, 0.35);
	top: 8px;
}

.sg_featured_posts_wrapper.home .sg_fp_container:last-child .bottom-loop-info:before {
	height: 4px;
	width: 67px;
	left: 24px;
	top: -23px;
}

.sg_fp_container .overlay,
.ra-image-wrapper .overlay {
	border-radius: 5px;
	background-image: url( '../images/overlay_featured.png' );
	background-size: cover;
	transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
}

.sg_fp_container.active .overlay,
.ra-image-wrapper.active .overlay {
	opacity: .8;
	transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
}

.sg_fp_container .aa_hfp_image {
	border-radius: 5px;
}

.sg_fp_container .sg_rating_block {
	top: 30px;
	right: 30px;
}

.sg_featured_posts_wrapper.archive .sg_fp_container .sg_rating_block {
	right: auto;
	left: 30px;
}

h3.sg_fp_title {
	font-family: Lato Heavy, sans-serif;
	font-size: 48px;
	color: #fff;
	line-height: 60px;
	margin: 0;
	letter-spacing: -0.015em;
}

.sg_featured_posts_wrapper.archive h3.sg_fp_title {
	font-size: 38px;
	line-height: 42px;
}

.sg_featured_posts_wrapper.home .sg_fp_container:last-child h3.sg_fp_title {
	font-size: 38px;
	line-height: 36px;
	margin-bottom: 15px;
}

.sg_fp_container .excerpt {
	font-family: 'Proximanova Semibold', sans-serif;
	font-size: 16px;
	color: #fff;
	line-height: 26px;
	letter-spacing: -0.02em;
}

.sg_featured_posts_wrapper.home .sg_fp_container:last-child .excerpt {
	font-size: 14px;
	line-height: 20px;
}

/*mobile*/
.aa_mobile_device .sg_featured_posts_wrapper {
	margin: 15px 0;
	overflow-x: scroll;
	white-space: nowrap;
	position: relative;
}

.aa_mobile_device .sg_fp_container {
	width: calc( 100vw - 20px ) !important;
	height: 286px !important;
	display: inline-block;
	float: none;
	margin: 0 10px !important;
}

.aa_mobile_device .sg_fp_container .aa_hfp_image,
.aa_mobile_device .sg_fp_container .overlay {
	border-radius: 0;
}

.aa_mobile_device .sg_fp_container .bottom-loop-info:before {
	display: none;
}

.aa_mobile_device h3.sg_fp_title {
	font-size: 24px!important;
	line-height: 24px!important;
	margin-bottom: 6px;
	max-height: 48px;
	overflow: hidden;
}

.aa_mobile_device .sg_fp_container .excerpt,
.aa_mobile_device .sg_featured_posts_wrapper.home .sg_fp_container:last-child .excerpt {
	font-size: 14px;
	line-height: 20px;
	font-family: Lato Heavy, sans-serif;
	max-height: 80px;
	overflow: hidden;
}

.aa_mobile_device .sg_fp_container .bottom-loop-info {
	padding: 0 25px 2px 10px !important;
	bottom: 37px !important;
}

.aa_mobile_device .sg_fp_container .sg_rating_block {
	left: 0 !important;
	right: auto;
}
/*===Featured Posts widget===*/