.content .template * + .listing {
	margin-top: 50px;
}

/************************************/
/********** LISTING HEADER **********/
/************************************/

.listing .header {
	margin-bottom: 25px;
	position:relative;
	align-items: center;
}
.listing .header p {
    font-weight: bold;
    color: var(--black);
    line-height: 1.5;
    text-transform: uppercase;
	margin: 0;
	flex: 1;
}

.listing hr {
	margin: 0;
	border-top: 1px solid #e0dedd;
}

.template .listing .accordion h3, .template .listing .accordion .h3,
.template .listing .accordion h2, .template .listing .accordion .h2,
.template .listing .file h3, .template .listing .file .h3,
.template .listing .file h2, .template .listing .file .h2,
.template .listing .item h3, .template .listing .item .h3,
.template .listing .item h2, .template .listing .item .h2 {
    font-size: 1.125rem;
	font-weight: 500;
	color: var(--black);
	margin: 0;
	transition: var(--transition);
    -webkit-transition: var(--transition);
	
}
.template .listing .accordion h3, .template .listing .accordion .h3,
.template .listing .accordion h2, .template .listing .accordion .h2,
.template .listing .accordion h1, .template .listing .accordion .h1{
    font-size: 1.5rem;
	font-weight: 300;
	text-transform: none
}

.template .listing .header .h3{
	font-size: 1rem;
	font-weight: bold;
	text-transform: uppercase
}

.listing .link {
    margin-top: 10px;
}

.listing .load-more {
	margin-top: 55px;
	left: 50%;
	transform: translateX(-50%);
}

.listing .items > *:not(hr) {
	position: relative;
}


@media(min-width: 768px) {
	.content .template * + .listing {
		margin-top: 70px;
	}
	
	.listing .header {
        display: flex;
		margin-bottom: 28px;
    }
    
    .listing .link {
        margin: 0;
    }
}

@media(min-width: 992px) {
	.content .template * + .listing {
		margin-top: 80px;
	}
	
	.listing .header {
        display: flex;
        margin-bottom: 25px;
    }
}


/****************************************/
/********** LISTING PAGINATION **********/
/****************************************/

.listing .pagination {
    margin-top: 40px;
	justify-content: center;
}

.listing .pagination ul {
	display: block;
	text-align: center;
	list-style: none;
	font-size: 0;
	padding: 0;
	margin: 0 -7px;
}
.listing .pagination ul li {
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--gold);
	line-height: 1;
	display: inline-block;
}
.listing .pagination ul li.disabled {
	pointer-events:none;
	opacity: .4;
}
.listing .pagination ul li.prev {
	margin-right: 10px;
}
.listing .pagination ul li.next {
	margin-left: 10px;
}
.listing .pagination ul li::before {
	content: normal;
}
.listing .pagination ul li a,
.listing .pagination ul li.ellipsis {
    font-weight: 300;
    padding: 0 7px;
	display: inline-block;
	border: none;
}
.listing .pagination ul li a:hover,
.listing .pagination ul li a:focus,
.listing .pagination ul li.active a {
	color: var(--black);
	border: none;
}

.listing .pagination ul li.prev a,
.listing .pagination ul li.next a {
	width: 32px;
    height: 10px;
	background-image: url(/assets/img/arrow-lg-gold.svg);
	background-repeat: no-repeat;
}
.listing .pagination ul li.prev a {
	transform: rotate(180deg);
}


@media(min-width: 768px) {
    .listing .pagination {
        margin-top: 60px;
    }
}

@media(min-width: 992px) {
    .listing .pagination {
        margin-top: 120px;
    }

	.listing .pagination ul {
		margin: 0;
	}
    .listing .pagination ul li a,
    .listing .pagination ul li.ellipsis {
		padding: 0 12px;
	}
	.listing .pagination ul li.prev {
		margin-right: 40px;
    }
    .listing .pagination ul li.next {
        margin-left: 40px;
    }
    .listing .pagination ul li.prev a,
    .listing .pagination ul li.next a {
        width: 40px;
        height: 12px;
	}
}


/******************************************/
/********** GENERIC ITEM LISTING **********/
/******************************************/

.listing .item {
    padding: 15px 0;
}

.listing .item h3, .listing .item .h3 {
	flex:1;
	padding-right: 20px;
}
.listing .item .link {
    margin-top: 10px;
}


@media(min-width: 768px) {
    .listing .item {
        display: flex;
	    align-items: center;
		padding: 25px 0;
    }
    
    .listing .item .link {
		margin-top: 0;
    }
}


/**********************************/
/********** FILE LISTING **********/
/**********************************/

.listing .file {
	padding: 20px 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.listing .file .image {
	width: 30px;
}

.listing .file h3,
.listing .file .h3 {
	flex: 1;
    padding: 0 20px;
    min-width: calc(100% - 40px);
}

.listing .file .link {
    padding-left: 60px;
    margin-top: 10px;
}


@media(min-width: 768px) {	
	.listing .file h3, .listing .file .h3 {
		min-width: auto;
	}
	
	.listing .file .link {
        padding-left: 0;
        margin-top: 0;
	}
}


/***************************************/
/********** ACCORDION LISTING **********/
/***************************************/

.listing {
	counter-reset: accordion;
}

.listing .accordion > div {
	position: relative;
	padding: 20px 0;
	padding-right: 45px;
	cursor: pointer;
	transition: var(--transition);
    -webkit-transition: var(--transition);
}

.template .listing .accordion h3,
.template .listing .accordion .h3,
.template .listing .accordion h2,
.template .listing .accordion .h2 {
    padding-right: 35px;
}

.listing .accordion > div:first-child:hover h2, .listing .accordion > div:first-child:focus h2, .listing .accordion.open > div:first-child h2,
.listing .accordion > div:first-child:hover .h2, .listing .accordion > div:first-child:focus .h2, .listing .accordion.open > div:first-child .h2,
.listing .accordion > div:first-child:hover h3, .listing .accordion > div:first-child:focus h3, .listing .accordion.open > div:first-child h3,
.listing .accordion > div:first-child:hover .h3, .listing .accordion > div:first-child:focus .h3, .listing .accordion.open > div:first-child .h3 {
	color: var(--gold);
}

.listing .accordion .toggle {
	height: 26px;
	width: 26px;
	position: absolute;
	top: 0;bottom: 0;
	right: 0;
	margin: auto;
	transition: var(--transition);
    -webkit-transition: var(--transition);
}
.listing .accordion .toggle:hover, .listing .accordion .toggle:focus {
	transform:scale(1.1);
}
.listing .accordion .toggle::before,
.listing .accordion .toggle::after {
	content: "";
	position: absolute;
	top: 0;bottom: 0;
	margin: auto;
	height: 2px;
	width: 100%;
	background-color: var(--darkgold);
	transition: var(--transition);
    -webkit-transition: var(--transition);
}
.listing .accordion .toggle::after {
	transform: rotate(90deg);
}
.listing .accordion.open .toggle::after, .listing .accordion.active .toggle::after {
	transform: rotate(0deg);
}

.listing .accordion .description {
    padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: var(--transition);
	cursor: default;
}
.listing .accordion.active .description {
	max-height: none;
}
.listing .accordion .description p, .listing .accordion .description ul, .listing .accordion .description ol {
	font-size: 1rem;
}

.listing .accordion .description > *:first-child {
	margin-top: 5px;
}
.listing .accordion .description > *:last-child {
	margin-bottom: 30px;
}

.listing .accordion .description .button {
	padding: 10px 25px;
	margin-top: 35px;
}


@media(min-width: 768px) {	
	.listing .accordion > div {
        padding: 25px 0;
    }
	
	.listing .accordion .description {
		padding: 0 65px 0 0;
    }
	.listing .accordion .description > *:first-child {
		margin-top: 15px;
	}
	.listing .accordion .description > *:last-child {
		margin-bottom: 40px;
	}
}


/**********************************/
/********** BLOG LISTING **********/
/**********************************/

.listing.listing-article .items.row {
    margin: -20px
}
.listing .article {
    padding: 20px
}

.content .blog-tags {
    margin: 50px 0 35px;
}

.listing .article img {
	margin-bottom: 20px;
}

.listing .article h2,
.listing .article .h2 {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.5;
    text-transform: none;
    margin-top: 15px;
    margin-bottom: 20px;
}

.listing .article span,
.content .blog-tags span {
    display: block;
    font-size: .75rem;
    font-weight: bold;
    color: var(--lightgrey);
    text-transform: uppercase;
}
.content .blog-tags span {
    font-size: .875rem;
}
.listing .article span + span,
.content .blog-tags span + span {
    margin-top: 5px;
    color: var(--gold);
}
.listing .article span + span a:hover,
.listing .article span + span a:focus,
.content .blog-tags span + span a:hover,
.content .blog-tags span + span a:focus {
    color: var(--lightgrey);
}

.listing .article .button {
    padding: 12px 30px;
}


@media(min-width: 992px) {
    .listing.listing-article .items.row {
        margin: -40px -28px
    }
    .listing .article {
        padding: 40px 28px;
    }
}




/*********************************************/
/********** BLOG LISTING SEARCH BAR **********/
/*********************************************/

.blog-search-wrapper,
.blog-search {
    height: 110px;
}

.blog-search {
    top: 61px;left: 0;
    width: 100%;
    background: linear-gradient(to right, #ac7c3e, #e8ba55);
    z-index: 10;
}
.blog-search.fixed {
    position: fixed;
}

.blog-search .container {
    padding: 0;
}

.blog-search .row {
    margin: -1px
}
.blog-search .row > div {
    padding: 1px;
}

.blog-search input,
.blog-search select {
    appearance: none;
    -webkit-appearance: none;
    font-size: 12px;
    font-weight: 500;
    color: white;
    line-height: 1;
    text-transform: uppercase;
    padding: 20px;
    width: 100%;
    background-color: rgba(143, 94, 48, 0.25);
    border: none;
    border-radius: 0;
    height: 53px;
}

.blog-search .select-wrapper {
    position: relative;
}
.blog-search .select-wrapper::before,
.blog-search .select-wrapper::after {
    content: "";
    position: absolute;
    top: 0;bottom: 0;
    right: 20px;
    margin: auto;
    width: 0;height: 0;
    border-top: 4px solid white;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    pointer-events: none;
}
.blog-search .select-wrapper::before {
    top: -12px;
    transform: rotate(180deg);
}
.blog-search .select-wrapper::after {
    bottom: -12px;
}

.blog-search [submit] {
    position: absolute;
    top: 0;right: 1px;
    width: 53px;height: 53px;
    padding: 20px;
}
.blog-search [submit]::before {
    content: "";
    position: absolute;
    top: 0;bottom: 0;
    left: 0;right: 0;
    margin: auto;
    width: 13px;height: 13px;
    background-image: url(/assets/img/lupe-white.svg);
    background-repeat: no-repeat;
}


@media(min-width: 768px) {
    .blog-search-wrapper,
    .blog-search {
        height: 63px;
    }
    .blog-search {
        top: 110px;
    }

    .blog-search .row {
        margin: 0 -1px
    }
    .blog-search .row > div {
        padding: 0 1px;
    }

    .blog-search input,
    .blog-search select {
        padding: 25px 30px;
        height: 63px;
    }

    .blog-search .select-wrapper::before,
    .blog-search .select-wrapper::after {
        right: 30px;
    }

    .blog-search [submit] {
        padding: 25px;
        width: 63px;height: 63px;
    }
}

@media(min-width: 992px) {
    .blog-search-wrapper,
    .blog-search {
        height: 73px;
    }
    .blog-search {
        top: 111px;
    }

    .blog-search input,
    .blog-search select {
        padding: 29px 30px;
        height: 73px;
    }

    .blog-search [submit] {
        padding: 30px;
        width: 73px;height: 73px;
    }
}



.blog-search .custom-select {
	background:none;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: z-index 0s .2s;
	
	font-size: 12px;
    font-weight: 500;
    color: white;
    line-height: 1;
    text-transform: uppercase;
    width: 100%;
    background-color: rgba(143, 94, 48, 0.25);
    border: none;
    border-radius: 0;
	height: 100%;
    padding: 0px 20px;
}


.blog-search .custom-select .placeholder {
    position: relative;
    padding: 30px 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 0px solid #d0d1d1;
    resize: none;
    transition: var(--transition);
}

.blog-search .custom-select .options-wrapper {
    position: absolute;
    left: 0;
    width: 100%;
    max-height: 0;
    transition: var(--transition);
    overflow: hidden;
    background-color: #aa793a;
    padding-right: 10px;
    border: 1px solid #aa793a;
    opacity: 0;
    z-index: 2;
}

.blog-search .custom-select .options > div{
	color:white;
	font-size: 11px;
}

.blog-search .custom-select .placeholder::before{
	display: none
}

@media(max-width:767px){
	.blog-search .custom-select .placeholder {
		padding: 20px 0;
	}
}


/************************************/
/********** BUTTON LISTING **********/
/************************************/

.listing.listing-button .items {
    margin: -5px;
    font-size: 0;
}

.listing.listing-button .button {
    margin: 5px;
    letter-spacing: 0;
}


/*************************************************/
/********** ITEM WITH THUMBNAIL LISTING **********/
/*************************************************/

.listing .image-item {
    padding: 35px 0;
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #eeeeec;
}

.listing .image-item:last-child {
    border-bottom: 1px solid #eeeeec;
}

.listing .image-item .image {
    width: 90px;
    height: 90px;
    position: relative;
    margin-right: 15px;
}
.listing .image-item .image img {
    position: absolute;
    top: 0;bottom: 0;
    left: 0;right: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

.listing .image-item > div:not(.image) {
    flex: 1;
}

.listing .items.circular .image-item > .image img{
    border-radius: 50%;
}

.listing .items.com .image-item > .image img{
    border-radius: 30px;
}


@media(min-width: 768px) {
    .listing .image-item .image {
        margin-right: 55px;
    }
}



/************************************/
/********** SQUARE LISTING **********/
/************************************/

.listing.listing-square .items.row {
	margin: -15px
}

.listing .square {
	padding: 15px
}

.listing .square .image {
	padding-top: 100%;
	position: relative;
	display: block;
	overflow: hidden;
}
.listing .square .image img {
	position: absolute;
	top: 0;bottom: 0;
	left: 0;right: 0;
	margin: auto;
	max-width: 100%;
    max-height: 100%;
    opacity: .4;
}
.listing .square .image:hover img,
.listing .square .image:focus img {
    opacity: 1;
}


@supports(mix-blend-mode: multiply) {		
	.listing .square .image img {
		filter: grayscale(1);
		filter: grayscale(100%);
		transition: var(--transition);
    	-webkit-transition: var(--transition);
	}
    .listing .square .image:hover img,
    .listing .square .image:focus img {
		filter: grayscale(0);
		filter: grayscale(0%);
	}
}


@media(max-width: 767px) and (orientation: landscape) {
    .listing .square {
        flex-basis: 50%;
        max-width: 50%;
    }
}

@media(min-width: 768px) {
    .listing.listing-square .items.row {
        margin: -20px
    }
    .listing .square {
        padding: 20px
    }
}

@media(min-width: 99px) {
    .listing.listing-square .items.row {
        margin: -30px
    }
    .listing .square {
        padding: 30px
    }
}