
/* Source Sans Font */

/* SourceSans Pro Bold  */
@font-face {
	font-family: 'SourceSansPro-Bold';
	src: url('../fonts/sourcesansprobold/SourceSansPro-Bold.otf') format('opentype');
	src: url('../fonts/sourcesansprobold/sourcesanspro-bold.eot');
	src: url('../fonts/sourcesansprobold/sourcesanspro-bold.eot?#iefix') format('embedded-opentype');
	src: url('../fonts/sourcesansprobold/sourcesanspro-bold.woff') format('woff');
	src: url('../fonts/sourcesansprobold/sourcesanspro-bold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

/* SourceSans Pro Regular */
@font-face {
	font-family: 'SourceSansPro-Regular';
	src: url('../fonts/sourcesasnsproregular/SourceSansPro-Regular.otf') format('opentype');
	src: url('../fonts/sourcesasnsproregular/sourcesanspro-regular.eot');
	src: url('../fonts/sourcesasnsproregular/sourcesanspro-regular.eot?#iefix') format('embedded-opentype');
	src: url('../fonts/sourcesasnsproregular/sourcesanspro-regular.woff') format('woff');
	src: url('../fonts/sourcesasnsproregular/sourcesanspro-regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

/* SourceSans Pro SemiBold */
@font-face {
	font-family: 'SourceSansPro-SemiBold';
	src: url('../fonts/sourcesasnsprosemibold/SourceSansPro-Semibold.otf') format('opentype');
	src: url('../fonts/sourcesasnsprosemibold/sourcesanspro-semibold.eot');
	src: url('../fonts/sourcesasnsprosemibold/sourcesanspro-semibold.eot?#iefix') format('embedded-opentype');
	src: url('../fonts/sourcesasnsprosemibold/sourcesanspro-semibold.woff') format('woff');
	src: url('../fonts/sourcesasnsprosemibold/sourcesanspro-semibold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

/* SourceSans Pro Light */
@font-face {
	font-family: 'SourceSansPro-Light';
	src: url('../fonts/sourcesansprolight/SourceSansPro-Light.otf') format('opentype');
	src: url('../fonts/sourcesansprolight/sourcesanspro-light.eot');
	src: url('../fonts/sourcesansprolight/sourcesanspro-light.eot?#iefix') format('embedded-opentype');
	src: url('../fonts/sourcesansprolight/sourcesanspro-light.woff') format('woff');
	src: url('../fonts/sourcesansprolight/sourcesanspro-light.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

/*===========================*/
/* Unit test                 */
/*===========================*/
html, body {
	font-family: "SourceSansPro-Regular", sans-serif;
}
.an-site-content {
	padding-top: 70px;
}
@media (max-width: 767px) {
	.an-site-content {
		padding-top: 63px;
	}
}
@media (max-width: 500px) {
	.an-site-content {
		padding-top: 58px;
	}
}
.an-single_post ul li {
	list-style-type: none;
	margin-bottom: 5px;
	font-size: 20px;
	font-family: "SourceSansPro-Regular", sans-serif;
}
.an-single_post ul {
	margin-left: 0;
	padding-left: 0;
}
.an-sidebar input[type="text"] {
	font-size: 20px;
	padding: 4px 10px;
	border-radius: 0;
	border: 1px solid #534d46;
	outline: none;
}
.an-sidebar input[type="submit"] {
	border-radius: 0;
    border: 0;
    background-color: #534d46;
    outline: none;
    color: #fff;
    padding: 10px 20px;
    font-family: "SourceSansPro-Regular", sans-serif;
    font-size: 20px;
}
.an-sidebar form {
	margin-top: 25px;
	display: flex;
	flex-wrap: wrap;
}
.an-sidebar form input[type='text'] {
	width: 90%;
	margin-bottom: 15px;
}
.ancestry-left-menu-block li > ul {
	margin-left: 0;
	padding-left: 15px;
}
.ancestry-left-menu-block li > ul li {
	font-size: 24px;
}
.ancestry-left-menu-block li > ul li ul li {
	font-size: 20px;
}
.an-sidebar select {
	width: 100%;
}
.an-sidebar table caption {
	margin-bottom: 10px;
}
.an-sidebar table td {
	text-align: center;
}
@media (max-width: 767px) {
	.an-sidebar form {
		margin-top: 25px;
		display: flex;
	}
}
/*=================*/
/* Buttons */
/*=================*/
a.ancestry-btn {
	background-color: #7a9c0f;
	border-radius: 5px;
	color: #fff;
	font-family: 'SourceSansPro-SemiBold', sans-serif;
	font-size: 18px;
	padding: 7px 15px;
	text-decoration: none;
	transition: opacity 0.3s ease;
}
a.ancestry-btn:hover {
	opacity: 0.7;
}
@media (max-width: 767px) {
	a.ancestry-btn {
		padding: 7px 10px;
	}
}
@media (max-width: 500px) {
	a.ancestry-btn {
		font-size: 16px;
		padding: 7px;
	}
}

/*=====================*/
/* BODY                */
/*=====================*/
body {
	overflow-x: hidden;
}
/*=====================*/
/* Headings */
/*=====================*/
h1, h2, h3, h4, h5, h6 {
	font-family: 'SourceSansPro-Bold', sans-serif;
	color: #7a9c0f;
	margin-top: 0;
	margin-bottom: 0;
}
h1 {
	font-size: 60px;
	color: #fff;
	line-height: 65px;
	background-color: #7a9c0f;
	display: inline-block;
	padding: 5px 20px;
}
h2 {
	font-size: 40px;
	color: #534d46;
}
h3 {
	font-size: 28px;
	color: #7a9c0f;
}
h4 {
	font-size: 24px;
	line-height: 30px;
}
h5 {
	font-size: 20px;
	line-height: 25px;
}
h6 {
	font-size: 16px;
	line-height: 20px;
}
a {
	text-decoration: none !important;
	color: #534d46;
	font-family: "SourceSansPro-Semibold", sans-serif;
	transition: color 0.3s ease, opacity 0.3s ease;
}
a:hover {
	opacity: 0.7;
}
::selection {
    color: #fff;
    background: #7a9c0f;
}

/*====================*/
/* Header Block */
/*====================*/
.ancestry-site-header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 22px;
	padding-bottom: 8px;
	position: fixed;
	z-index: 10000000;
	background-color: #fff;

}
.an-header-right-side {
	padding-right: 25px;
	position: relative;
	top: -8px;
}
.an-header-left-side {
	display: flex;
	padding-left: 25px;
}

/* Toggle menu */
.header__toggle-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	height: 30px;
	width: 24px;
}
.header__toggle-menu .button-container {
  width: 24px;
  height: 30px;
  cursor: pointer;
  -webkit-transition: opacity .3s ease;
  transition: opacity .3s ease;
}
.header__toggle-menu .button-container:hover {
  opacity: .7;
}

.header__toggle-menu .button-container span {
  position: absolute;
  top: 3px;
  width: 24px;
  height: 3px;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform .5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  border-radius: 15px;
  background-color: #534d46;
  cursor: pointer;
  z-index: 20;
}

.header__toggle-menu .button-container span:nth-of-type(2) {
  top: 12px;
}

.header__toggle-menu .button-container span:nth-of-type(3) {
  top: 21px;
}
.header__toggle-menu .button-container.active .top {
  -webkit-transform: translateY(8px) translateX(0) rotate(45deg);
          transform: translateY(8px) translateX(0) rotate(45deg);
}

.header__toggle-menu .button-container.active .middle {
  opacity: 0;
}

.header__toggle-menu .button-container.active .bottom {
  -webkit-transform: translateY(-10px) translateX(0) rotate(-45deg);
          transform: translateY(-10px) translateX(0) rotate(-45deg);
}

/* Logo */
.an-main-wrapper .header_logo {
	margin-left: 20px;
	font-size: 20px;
}
.ancestry__logo {
	width: 180px;
}
@media (max-width: 767px) {
	.ancestry-site-header {
		padding-top: 18px;
		padding-bottom: 5px;
	}
}
/*==========================*/
/* Banner top */
/*==========================*/
.an-banner-top-text-wrapper {
	background-color: #1b88b0;
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	width: 100%;
	z-index: 10000000;
}
.an-banner-top-text {
	position: relative;
	padding-top: 5px;
	padding-bottom: 5px;
}
.an-banner-top-text a {
	font-family: "SourceSansPro-Semibold", sans-serif;
	color: #fff;
	font-size: 24px;
}
.an-banner-top-text a:hover {
	opacity: 0.7;
}
.an-banner-top-text a::after {
	position: absolute;
	font-family: 'fontawesome';
    transform: translateY(-50%);
	top: 50%;
	right: -40px;
	content: '\f105';
}
.an-banner__top-image {
	-webkit-background-size: cover;
	background-size: cover;
	width: 100%;
	background-position: center;
	height: 500px;
	margin-top: 46px;
}
.an-banner__top-image--home {
	display: block;
}
@media (max-width: 767px) {
	.an-banner__top-image {
		margin-top: 31px;
	}
}
.an-banner__top-image--home:hover {
	opacity: 1;
}
.an-banner__top-image--no-image {
	height: 90px;
}
.an-banner-title-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	margin-top: -79px;
	padding-top: 5px;
	padding-bottom: 5px;
}
.an-banner-title-wrapper--home a {
	color: #fff;
	font-weight: 700;
	font-family: "SourceSansPro-Bold", sans-serif;
}
.an-banner-title-wrapper--home a:hover {
	opacity: 1;
}
.an-banner-title {
    min-height: 150px;
    max-width: 25%;
    background-color: transparent;
    padding: 0;
}
.an-banner-title span {
	padding: 0 20px 0 20px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	display: inline;
	background-color: #7a9c0f;
	line-height: 74px;
}

/*==================================*/
/* Media Queries Banner Top Content  */
/*==================================*/
@media (max-width: 1199px) {
	.an-banner-title {
    	max-width: 30%;
	}
	.an-banner-title h1 {
		line-height: 55px;
	}
	.an-banner-title span {
		line-height: 55px;
	}
	.an-banner-title-wrapper {
		/*margin-top: -65px;*/
		margin-top: -60px;
	}
}
@media (max-width: 991px) {
	.an-banner-title {
    	max-width: 35%;
    	min-height: 100px;
	}
	.an-banner-title span {
		line-height: 49px;
	}
	.an-banner__top-image {
		height: 400px;
	}
	.an-banner-title-wrapper {
		margin-top: -54px;
	}
	.an-banner__top-image--no-image {
		height: 90px;
	}
	.an-banner-top-text a::after {
		right: -25px;
	}
}
@media (max-width: 767px) {
	.an-banner-title {
		max-width: 45%;
		min-height: 75px;
	}
	.an-banner-title span {
		padding: 0 10px;
		line-height: 43px;
	}
	.an-banner-top-text a::after {
		right: auto;
		padding-left: 20px;
	}
	.an-banner-top-text {
		width: 100%;
		padding-right: 20px;
		padding-left: 20px;
		text-align: center;
	}
	.an-banner-top-text a {
		font-size: 16px;
	}
	.an-banner__top-image {
		height: 300px;
	}
	.an-banner-title-wrapper {
		margin-top: -48px;
	}
}
@media (max-width: 520px) {
	.an-banner-top-text a {
		font-size: 14px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}
@media (max-width: 500px) {
	.an-banner-title {
		max-width: 50%;
	}
	.an-header-left-side {
		padding-left: 10px;
	}
	.an-header-right-side {
		padding-right: 10px;
		top: -6px;
	}
	.an-banner-top-text {
		padding-right: 10px;
		padding-left: 10px;
		padding-top: 7px;
		padding-bottom: 7px;
	}
	.an-banner-top-text a {
		font-size: 13px;
	}
	.an-banner-top-text a::after {
		right: -25px;
	}
	.an-main-wrapper .header_logo {
		margin-left: 10px;
	}
	.ancestry__logo {
		width: 150px;
	}
	.an-banner-title-wrapper .an-banner-title {
		font-size: 30px;
		line-height: 37px;
	}
	.an-banner-title-wrapper {
		margin-top: -42px;
		margin-bottom: 20px;
	}
	.an-banner-title span {
		line-height: 37px;
	}
	.header__toggle-menu {
		top: -2px;
	}
}
@media (max-width: 400px) {
	.an-banner-top-text a {
		font-size: 12px;
		line-height: 24px;
		display: flex;
	}
	.an-banner-top-text a::after {
		right: 8px;
	}

}

@media (max-width: 374px) {
	.an-banner-top-text {
		padding-left:  0;
    padding-right:  0;
	}
	.an-banner-top-text a {
    font-size: 11px;
	}
	.an-banner-top-text a::after {
		right: -25px;
	}
}
/*============================================*/
/*  Home page content / Category page content */
/*============================================*/
.an-page__content-wrapper {
	position: relative;
}
.an-home-page__content {
	margin: 50px auto;
	width: 100%;
	max-width: 1200px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.an-home-page-leftside {
	width: 67%;
}
.an-home-page-rightside {
	width: 33%;
	display: flex;
    align-items: center;
}
.an-home-post-wrapper {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start;
}
.an-home-post__item {
	width: 49.3%;
	margin: 0 5px 10px 0;
	padding: 0 50px 0 0;
}
.an-home-post__item:hover .an-bg-img-homepost {
	opacity: 0.8;
}
.an-home-post__item:hover h5 a {
	color: #1b88b0;
	opacity: 1;
}
.an-bg-img-homepost {
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 250px;
	display: block;
	transition: opacity 0.3s ease;
}
.an-home-post__item img {
	width: 100%;
	display: inline-block;
	transition: opacity 0.3 ease;
}
.an-home-post__item h5 {
	margin-top: 8px;
}
/*==========================================================*/
/* Media Queries Home Page Content / Category Page Content  */
/*==========================================================*/
@media (max-width: 1399px) {
	.an-home-page__content {
		max-width: 1000px;
	}
	.an-home-post__item {
		width: 49%;
		padding: 0 30px 0 0;
	}
	.an-bg-img-homepost {
		height: 220px;
	}
}
@media (max-width: 1199px) {
	.an-home-page__content {
		max-width: 900px;
	}
	.an-bg-img-homepost {
		height: 200px;
	}
}
@media (max-width: 1099px) {
	.an-home-page__content {
		max-width: 800px;
	}
}
@media (max-width: 991px) {
	.an-home-page__content {
		flex-wrap: wrap;
		margin-top: 30px;
	}
	.an-home-page-leftside {
		width: 100%;
	}
	.an-home-post__item {
		margin: 0;
		padding: 15px;
	}
	.an-home-page__content {
		max-width: 700px;
	}
	.an-home-post-wrapper {
		justify-content: center;
	}
	.an-home-page-rightside {
		width: 50%;
		margin-right: auto;
		margin-left: auto;
	}
	.an-home-page-rightside {
		flex-direction: column;
	}
}
@media (max-width: 767px) {
	.an-home-page__content {
		max-width: 100%;
	}
	.an-home-page-rightside {
		width: 66%;
	}
}
@media (max-width: 500px) {
	.an-home-post__item {
		width: 100%;
	}
	.an-home-page-rightside {
		width: 100%;
		padding-right: 15px;
		padding-left: 15px;
	}
}
/*=========================*/
/*  Sidebar  */
/*=========================*/
.an-sidebar-wrapper {
	position: relative;
}
.an-sidebar {
	background-color: #eeeeee;
	padding: 20px 25px;
	border-bottom: 10px solid #7a9c0f;
}
.an-sidebar--fixed {
	position: fixed;
	top: 0;
	right: 200px;
	width: 396px;
	z-index: 500;
}
.an-sidebar .widget-title {
	color: #7a9c0f;
	margin-bottom: 10px;
	white-space: nowrap;
}
.an-sidebar .upw-posts article {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
	position: relative;
}
.an-sidebar .upw-posts article h4 {
	font-size: 22px;
	line-height: 1.3;
	font-family: "SourceSansPro-Semibold", sans-serif;
	padding-bottom: 40px;
	margin-bottom: 0;
	position: relative;
}
.an-sidebar .upw-posts article:last-of-type  h4{
	padding-bottom: 0;
}
.an-sidebar .upw-posts article:last-of-type {
	padding-bottom: 0;
}
.an-sidebar .upw-posts article:not(:last-of-type)::after {
	position: absolute;
	bottom: 19px;
	width: 35%;
	height: 1px;
	background-color: #534d46;
	content: '';
	left: 50%;
	transform: translateX(-50%);
}
.an-sidebar ul {
	margin: 0;
	padding-left: 0;
	list-style-type: none;
}
.an-sidebar ul li {
	font-size: 22px;
	line-height: 1.3;
	font-family: "SourceSansPro-Semibold", sans-serif;
	padding-bottom: 30px;
	position: relative;
}
.an-sidebar ul li:last-of-type {
	padding-bottom: 0;
}
.an-sidebar ul li:not(:last-of-type)::after {
	position: absolute;
	bottom: 12px;
	width: 35%;
	height: 1px;
	background-color: #534d46;
	content: '';
	left: 50%;
	transform: translateX(-50%);
}

/*=========================*/
/*  Media queries Sidebar  */
/*=========================*/
@media (max-width: 1199px) {
	.an-sidebar {
		padding: 15px 15px 20px;
	}
}
@media (max-width: 767px) {
	.an-sidebar .widget-title {
		font-size: 35px;
		white-space: normal;
		line-height: 40px;
	}
	.an-sidebar .upw-posts article h4 {
		font-size: 20px;
	}
}

/*===============================*/
/*  Share button // right block  */
/*===============================*/
.an-share-buttons ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
	border: 1px solid #a9a6a3;
	border-right: 0;
	background-color: #fff;
}
.an-share-buttons--right {
	position: absolute;
	right: 0;
	top: 0;
}
.an-share-buttons--right--fixed {
	position: fixed;
	top: 0;
}
.an-share-buttons--right li {
	padding-top: 15px;
	padding-right: 15px;
	padding-left: 15px;
}
.an-share-buttons--right li:not(:first-of-type) {
	padding-top: 10px;
}
.an-share-buttons--right li:last-of-type {
	padding-bottom: 9px;
}
.an-share-buttons--right li a {
	display: inline-block;
	width: 48px;
}
.an-share-buttons--right li a:hover {
	opacity: 0.7;
}
.an-share-buttons--right li img {
	width: 100%;
	border-radius: 50%;
}
.an-share-buttons--left {
	margin-top: 15px;
}
.an-share-buttons--left ul {
	border: 0;
}
.an-share-buttons--left ul li {
	display: inline-block;
	padding-right: 7px;
}
.an-share-buttons--left li a {
	width: 50px;
	display: inline-block;
}
.an-share-buttons--left li img {
	width: 100%;
	border-radius: 50%;
}
/*==============================*/
/*  Media queries Share buttons */
/*==============================*/
@media (max-width: 1199px) {
	.an-share-buttons--right li {
		padding-top: 10px;
		padding-right: 10px;
		padding-left: 10px;
	}
}
@media (max-width: 991px) {
	.an-share-buttons--right {
		position: relative;
		right: auto;
	}
	.an-share-buttons ul {
		border: 0;
		margin-bottom: 25px;
	}
	.an-share-buttons__list li {
		display: inline-block;
	}
	.an-share-buttons--right li {
		padding-left: 5px;
		padding-right: 5px;
	}
}
@media (max-width: 500px) {
	.an-share-buttons ul {
		text-align: center;
	}
	.an-share-buttons--left ul {
		text-align: left;
	}
	.an-share-buttons--right li {
		padding-right: 2px;
		padding-left: 2px;
	}
	.an-share-buttons--right li a {
		width: 43px;
	}
}
/*============================*/
/* Category title             */
/*============================*/
.an-category-title-wrapper {
	margin: 50px auto;
	width: 100%;
	max-width: 1200px;
}
.an-category-title-wrapper--cat {
	margin-top: 96px;
}
.an-category-title-wrapper .an-banner-title {
	display: inline-block;
	padding-top: 5px;
	padding-bottom: 5px;
	max-width: 100%;
	min-height: auto;
}
@media (max-width: 1399px) {
	.an-category-title-wrapper {
		max-width: 1000px;
	}
}
@media (max-width: 1199px) {
	.an-category-title-wrapper {
		max-width: 900px;
	}
}
@media (max-width: 1099px) {
	.an-category-title-wrapper {
		max-width: 800px;
	}
}
@media (max-width: 991px) {
	.an-category-title-wrapper {
		max-width: 700px;
		padding-right: 25px;
		padding-left: 25px;
	}
}
@media (max-width: 767px) {
	.an-category-title-wrapper {
		max-width: 100%;
	}
}
@media (max-width: 500px) {
	.an-category-title-wrapper {
		padding-right: 15px;
		padding-left: 15px;
	}
}
/*============================*/
/* Content wrapper            */
/*============================*/
/* Main wrapper of site*/
.an-main-wrapper {
	display: flex;
}
/* Main part */
.ancestry-site {
	width: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
	left: 0;
	transition: left 0.3s ease;
	border-left: 1px solid #dcdbd9;
}
.ancestry-site.is-not-active {
	left: 280px;
}
/* Left Block */
.ancestry-left-menu-block {
	position: fixed;
	left: -280px;
	width: 280px;
	transition: left 0.3s ease;
	padding: 30px 50px;
	overflow-x: hidden;
}
.ancestry-left-menu-block.active {
	left: 0;
	position: fixed;
	overflow-y: auto;
	height: 100vh;
}
.an-search-wrapper span {
	position: relative;
	width: 100%;
	background-color: red;
	display: block;
	font-size: 22px;
	color: #534d46;
	font-family: 'SourceSansPro-Light', sans-serif;
}
.an-search-wrapper span::before {
	position: absolute;
	font-family: 'fontawesome';
	content: '\f002';
	top: 50%;
	left: 10px;
	transform: translateY(-50%);
}
.an-search-wrapper input {
	padding: 6px 10px 6px 37px;
	border-radius: 0;
	outline: none;
	font-size: 20px;
	border: 1px solid #534d46;
	font-family: "SourceSansPro-Regular", sans-serif;
	color: #534d46;
	font-weight: 100;
}
.an-search-wrapper input[type='text'] {
	width: 100%;
}
.an-search-wrapper input[type='text']::placeholder {
	color: #534d46;
	font-family: "SourceSansPro-Regular";
}
.an-search-wrapper input[type='submit'] {
	display: none;
}
.an-left-home {
	padding-top: 15px;
}
.an-most-popular {
	margin-left: 0;
	margin-bottom: 0;
	padding-left: 0;
}
.an-list-category {
	margin-left: 0;
	padding-left: 0;
	padding-bottom: 15px;
	border-bottom: 1px solid #534d46;
}
.ancestry-dna-wrapper {
	margin-top: 15px;
}
.ancestry-left-menu-block li {
	list-style-type: none;
	font-size: 28px;
}
@media (max-width: 500px) {
	.ancestry-left-menu-block {
		padding: 20px 25px;
		width: 220px;
	}
	.ancestry-site.is-not-active {
		left: 220px;
	}
	.ancestry-left-menu-block li {
		line-height: 1.4;
	}
	.an-share-buttons--left li a {
		width: 43px;
	}
}
/*============================*/
/* Search Not found */
/*============================*/
.an-not-found .an-banner-title--not-found {
	min-height: auto;
}
.an-not-found p {
	font-family: "SourceSansPro-Regular", sans-serif;
	font-size: 20px;
	margin-top: 30px;
	margin-bottom: 30px;
}
@media (max-width: 991px) {
	.an-not-found .page-content {
		margin-bottom: 50px;
	}
}
@media (max-width: 767px) {
	.an-not-found .page-content {
		margin-bottom: 15px;
		padding-right: 10px;
		padding-left: 10px;
	}
	.an-not-found input[type="submit"] {
		margin-top: 15px;
	}
	.an-banner-title--not-found {
		padding-right: 10px;
		padding-left: 10px;
	}
}
.an-not-found .page-title {
	display: inline-block;
	background-color: #7a9c0f;
	padding: 0 20px;
}
.an-not-found input[type="submit"] {
	border-radius: 0;
	border: 0;
	background-color: #534d46;
	outline: none;
	color: #fff;
	padding: 10px 20px;
	font-family: "SourceSansPro-Regular", sans-serif;
	font-size: 20px;
}
.an-not-found  input[type="text"] {
	font-size: 20px;
	padding: 4px 10px;
	border-radius: 0;
	border: 1px solid #534d46;
	outline: none;
}
.an-not-found  input[type="text"]:focus {
	border: 1px solid #7a9c0f;
}
.an-banner-title--search {
	max-width: 100%;
	min-height: auto;
}
.an-banner-title--not-found {
	max-width: 100%;
}

/*=========================================================*/
/*                START DETAILED POST                      */
/*=========================================================*/
.an-single_post {
	margin-top: 30px;
	margin-bottom: 30px;
}
.an-single_post .an-home-page-leftside {
	padding-right: 35px;
	padding-left: 15px;
}
.an-single_post .an-post-content-title {
	font-size: 40px;
	line-height: 45px;
	color: #534d46;
	width: 440px;
}
.an-author-cat-wrap {
	display: flex;
}
.an-author-cat-wrap {
	margin-top: 20px;
	margin-bottom: 20px;
}
.an-author-cat-wrap .cat a {
	text-transform: uppercase;
	font-size: 16px;
	color: #7a9c0f;
	font-family: "SourceSansPro-Bold", sans-serif;
}
.an-author-cat-wrap .author {
	padding-left: 30px;
	text-transform: uppercase;
	font-family: "SourceSansPro-Bold", sans-serif;
	font-size: 16px;
}
.an-single_post  p {
	font-family: "SourceSansPro-Regular", sans-serif;
	font-size: 20px;
	color: #534d46;
}
.an-single_post h4 {
	font-size: 28px;
	color: #7a9c0f;
	line-height: 1.2;
}
/*.an-single_post img {
	width: 100%;
	display: inline-block;
}*/
/* blockqute style */
.an-single_post blockquote {
	font-style: italic;
}
.an-single_post blockquote p {
	position: relative;

}
.an-single_post blockquote p::before {
	content: url('http://ancestry.loc/wp-content/uploads/2018/02/quote-1.png');
	position: absolute;
	top: 53%;
	left: -24px;
	transform: translateY(-50%);
	opacity: 0.3;
}
/* ordinar list style*/
.an-post-ol-item-wrapper .item-content {
	font-family: "SourceSansPro-Bold", sans-serif;
	color: #7a9c0f;
	font-size: 28px;
	line-height: 1.2;
	margin-bottom: 15px;
}
.an-post-ol-item-wrapper .bg {
	background-color: #7a9c0f;
	border-radius: 50%;
	margin-right: 5px;
	padding: 5px;
}
.an-post-ol-item-wrapper .item {
	display: inline-block;
	color: #fff;
	font-size: 30px;
	padding: 5px 10px;
}
.an-post-ol-item-wrapper p {
	margin-top: 0;
	margin-bottom: 20px;
}
/* Block image with text*/
.an-image-with-text {
	display: flex;
	justify-content: space-between;
	align-items: center;

}
.an-image-with-text .image-wrapper {
	width: 60%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	padding: 10px 15px 10px 25px;
	margin-left: -10%;
	background-color: #eeeeee;
	border-left: 10px solid #7a9c0f;
}
.an-image-with-text .image-wrapper img {
	width: 100%;
}
.an-image-with-text .img-right-text {
	width: 40%;
}
.an-single_post .wp-caption-text,
.an-single_post .caption {
	margin: 0;
	margin-right: auto;
	margin-left: auto;
	padding: 10px 10% 0;
	font-size: 14px;
	text-align: center;
	font-style: italic;
	color: #534d46;
	line-height: 1.2;
	font-family: "SourceSansPro-Regular", sans-serif;
}
.single-image-wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
}
.an-image-with-text .text-left-wrapper {
	padding: 15px 15px 15px 25px;
	font-size: 28px;
	font-family: "SourceSansPro-Regular", sans-serif;
	line-height: 1.3;
}
.an-home-page__content .cat {
	color: #7a9c0f;
}
@media (min-width: 1024px) and (max-width: 1199px) {
	.an-image-with-text .image-wrapper,
	.an-image-with-text .img-right-text {
		width: 50%;
	}
}
@media (max-width: 1199px) {
	.an-image-with-text {
		flex-wrap: wrap;
	}
	.an-image-with-text .image-wrapper,
	.an-image-with-text .img-right-text {
		width: 100%;
	}
	.an-image-with-text .image-wrapper {
		margin-left: 0;
	}
}
@media (max-width: 991px) {
	.an-single_post .an-post-content-title  {
		width: 500px;
	}
	.an-single_post .an-home-page-leftside {
		padding-right: 15px;
	}
}
@media (max-width: 767px) {
	.an-single_post .an-post-content-title {
		width: 100%;
		font-size: 30px;
		line-height: 35px;
	}
	.an-post-ol-item-wrapper .item-content {
		font-size: 25px;
		margin-bottom: 10px;
	}
	.an-post-ol-item-wrapper .item {
		font-size: 26px;
	}
	.an-image-with-text .text-left-wrapper {
		font-size: 24px;
	}
}
@media (max-width: 500px) {
	.an-author-cat-wrap .cat a {
		font-size: 16px;
	}
	.an-single_post  p {
		font-size: 16px;
	}
	.an-single_post .an-author-cat-wrap {
		flex-direction: column;
	}
	.an-single_post .an-author-cat-wrap .author {
		padding-left: 0;
	}
}
/*=========================================================*/
/*                 END DETAILED POST                       */
/*=========================================================*/


/*============================*/
/* media queries heading      */
/*============================*/
@media (max-width: 1199px) {
	h1 {
		font-size: 45px;
		line-height: 55px;
	}
}
@media (max-width: 991px) {
	h1 {
		font-size: 40px;
		line-height: 45px;
	}
}
@media (max-width: 767px) {
	h1 {
		font-size: 35px;
		line-height: 40px;
	}
	h3 {
		line-height: 1.4;
	}
}

/***********************************
	YouTube Videos
************************************/
.post-embedded-content { border:1px solid transparent; box-shadow:0 1px 2px rgba(0, 0, 0, .2); margin:20px 0; position:relative; -webkit-transition:box-shadow .2s; transition:box-shadow .2s; }
.post-embedded-content::after { content:''; display:block; padding-bottom:56.23%; }
.post-embedded-content iframe { height:100%; left:0; position:absolute; top:0; width:100%; }

/***********************************
Newest Styles
***********************************/

.an-banner-title {
    max-width: 50%;
}

/*==================================*/
/* Media Queries Banner Top Content  */
/*==================================*/
@media (max-width: 1199px) {
	.an-banner-title {
    	max-width: 75%;
	}
}
@media (max-width: 991px) {
	.an-banner-title {
    	max-width: 75%;
	}
}
@media (max-width: 767px) {
	.an-banner-title {
		max-width: 75%;
	}
}
@media (max-width: 500px) {
	.an-banner-title {
		max-width: 95%;
	}
}

/*==================================*/
/*          Listicles               */
/*==================================*/

.listicle {
  margin-top: 20px;
}

.listicle li {
  font-family: "SourceSansPro-Regular", sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: rgb(122,156,15);
}

.listicle .custom-counter {
    margin-left: 0;
    padding-right: 0;
    list-style-type: none;
}

.listicle .custom-counter li {
    counter-increment: step-counter;
}

.listicle .custom-counter li::before {
    content: counter(step-counter);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  text-align: center;
  color: white;
  font-size: 24px;
  font-weight: 900;
  margin-left: 5px;
  margin-right: 10px;
  background-color: rgb(122,156,15);
  padding: 4px 14px;
}

.listicle p {
  color: #534d46;
  font-size: 20px;
  font-weight: 400;
  margin-left: 10px;
  margin-top: 20px;
  margin-right: 40px;
}

@media (max-width: 500px) {
  
.listicle {
    width: 90%;
  }
  
.listicle li {
  font-family: "SourceSansPro-Regular", sans-serif;
    font-size: 18px;
  font-weight: 900;
  color: rgb(122,156,15);
}
  
.listicle .custom-counter li::before {
    content: counter(step-counter);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: 900;
  margin-left: 5px;
  margin-right: 5px;
  background-color: rgb(122,156,15);
  padding: 4px 12px;
}
  
  .listicle p {
  color: #534d46;
  font-size: 18px;
  font-weight: 400;
  margin-top: 20px;
    margin-right: 0px;
}
}

/*==================================*/
/*          Blockquote              */
/*==================================*/

blockquote {
  background:url('https://blogs.ancestry.com/cm/files/2018/09/ancestry-quote-91.png') no-repeat;
  margin-left: -10px;
  min-height: 61px;
}

blockquote p {
  margin-left: 40px;
}

.listicle blockquote {
  background:url('https://blogs.ancestry.com/cm/files/2018/09/ancestry-quote-91.png') no-repeat;
  margin-left: 10px;
  min-height: 61px;
}

.listicle blockquote p {
  margin-left: 40px;
}
