/* Content blocks

   block-1: full width block, full width photo with black text box
   block-2: full width block, photo on left with colored text box on right, green or reverse class
   block-3: event listing
   block-4: quote
   block-5: inset text
   block-6: based on content-block-2, with a wider text area and stylized heading
  
*/

.av_default_container_wrap{
	border-top-width: 0px;
}

.cb{
	margin-top: 0px!important;
	margin-bottom: 0px!important;
	padding-top: 50px!important;
	background-color: #ffffff;
}

.cb.pad-off{
	padding-top: 0px!important;
}

cb.overview{
	padding-top: 100px!important;
}

.cb .subtitle{
	font-size: 1.4em;
	margin: 10px 0px;
}

.cb .venue-map-button{
	display: block;
	font-size: 14px;
	line-height: 18px;
	padding: 5px 0px;
}

.cb .text ul:not(.bullets){
	margin-left: 0px;
	list-style: none;
	margin-top: 13px;
	margin-bottom: 13px;
}

.cb .text ul:not(.bullets) li{
	margin-left: 0px;
	padding: 0px;
}

.cb.intro .avia_textblock{
	font-size: 18px!important;
	/* border-left: 10px solid #8cc63F;
	border-radius: 10px;
	padding-left: 20px; */
}

.cb.intro .avia_textblock p{
	text-align: center!important;
}

.cb h3{
	text-transform: none;
	font-size: 40px;
	line-height: 48px;
	font-weight: 400;
	text-transform: none!important;
}

.cb.small-heading h3{
	font-size: 28px;
	line-height: 36px;
}

.cb1 .flex_cell{
	min-height: 480px!important;
	height: 480px!important;
}

.cb1 .flex_cell_inner{
	display: flex;
	justify-content: flex-end;
	align-items: stretch;
}

.cb1.photo-right .flex_cell_inner{
	flex-direction: row-reverse;
}

.cb1 .flex_column.inner{
	float:none!important;
	width: 40%!important;
	min-width: 450px;
	max-width: 600px;
	color: #ffffff;
	background-color: rgba(53, 53, 53, 0.9);
	padding: 30px!important;
	border-radius: 3px;
}

.cb1 h3{
	color: #ffffff!important;
	margin-top: 0px;
}

.cb1 .avia-button-wrap,
.cb1 .avia-button{
	display: block!important;
	width: 100%;
}

.cb2 {
	display: flex!important;
}

.cb2.photo-right {
	flex-direction: row-reverse;
}

.cb2 .text {
	display: table;
	min-height: 480px;
}

.cb2 .text .flex_cell_inner{
	display: table-cell;
	vertical-align: middle;
}

.cb2 .photo{
	background-size: cover!important;
	background-color: #eeeeee!important;
	min-height: 480px;
}

.cb2.green .text {
	background-color: #BADD8C;
	color: #333333;
}

.cb2.green h3{
	color: #333333;
}

.cb2.yellow .text {
	background-color: #FCE8C2;
	color: #333333;
}

.cb2.yellow h3{
	color: #333333;
}

.cb2 .avia-button-wrap {
	display: inline-block;
	margin-right: 15px;
}

.cb2 .avia-button-wrap:last-child {
	margin-right: 0px;
}

.cb2 .avia-button {
	min-width: 130px;
}

.cb3,
.cb3.event-list{
	max-width: 990px!important;
	margin-left: auto!important;
	margin-right: auto!important;
	float: none!important;
}

.cb3 > .container > .content{
	padding-bottom: 50px;
	border-bottom: 1px solid #e1e1e1!important;
}

.cb3.event-list,
.cb3 .entry-content-wrapper {
	display: flex!important;
	justify-content: space-between;
	margin: 0px;!important;
}

.cb3.event-list .text,
.cb3 .flex_column.av_two_third.text{
	width: auto!important;
	padding-right: 50px!important;
}

.cb3.event-list .text .meta,
.cb3 .text .meta{
	font-size: 1.1em;
	line-height: 1.35em;
	margin: 10px 0px;
}

.cb3.event-list .text h3,
.cb3 .text h3{
	margin-top: -10px;
}

.cb3.event-list .photo,
.cb3 .flex_column.av_one_third.photo{
	width: 30%!important;
	min-width: 350px!important;
	margin: 0px!important;
	padding-right: 10px;
}

.cb3.event-list .photo img,
.cb3 .photo img{
	border-radius: 3px;
	-webkit-box-shadow: 10px 10px 0px 0px #f7961d; 
	box-shadow: 10px 10px 0px 0px #f7961d;
}

.cb3 .avia-button-wrap,
.cb3 .avia-button{
	display: inline-block!important;
}

.cb3.event-list .avia-button-wrap,
.cb3 .avia-button-wrap {
	margin-right: 15px;
}

.cb3.event-list .avia-button-wrap:last-child,
.cb3 .avia-button-wrap:last-child {
	margin-right: 0px;
}

.cb3.event-list .avia-button,
.cb3 .avia-button {
	min-width: 130px;
}

.cb3.event-list,
.cb3.jobs-list{
	padding-top: 50px;
	padding-bottom: 50px;
	border-bottom: 1px solid #e1e1e1!important;
	margin-top: 0px!important;
}

.cb3.event-list:last-child,
.cb3.jobs-list:last-child {
	border-bottom: 0px solid #e1e1e1!important;
}

.cb3.jobs-list{
	display: flex;
	align-items: center;
}

.cb3.jobs-list .job-button{
	margin-left: 50px;
}

.cb4{
	margin-left: auto;
	margin-right: auto;
	float: none!important;
	display: flex!important;
}

.cb4.narrow{
	max-width: 1200px!important;
	border-radius: 3px;
}

.cb4.photo-right {
	flex-direction: row-reverse;
}

.cb4 .photo {
	border-radius: 3px 0px 0px 3px;
	min-height: 300px;
}

.cb4 .text  {
	border-radius: 0px 3px 3px 0px;
	min-height: 300px;
}

.cb4 .text a {
	color: #ffffff;
	text-decoration: underline;
}

.cb4.red .text  {
	background-color: #d41a5b;
	color: #ffffff;
}

.cb4.green .text  {
	background-color: #BADD8C;
	color: #333333!important;
}

.cb4.photo-right .photo {
	border-radius: 0px 3px 3px 0px;
}

.cb4.photo-right .text {
	border-radius: 3px 0px 0px 3px;
}

.cb4:not(.narrow) .photo,
.cb4:not(.narrow) .text{
	border-radius: 0px!important;
}

.cb4 blockquote {
	color: #ffffff;
	padding: 0px;
	border-left: none;
	font-size: 20px;
	font-weight: 600;
}

.cb4 blockquote:before{
	content: '';
	font-family: entypo-fontello;
	font-size: 40px;
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	display: block;
	width: 40px;
	height: 40px;
	position: absolute;
	left: -60px;
	top: -16px;
}

.cb4.green blockquote {
	color: #333333;
}

.cb4 blockquote p:first-child:before{
	content: '"';
	display: none;
}
.cb4 blockquote p:last-child:after{
	content: '"';
}

.cb5{
	max-width: 990px!important;
	margin-left: auto;
	margin-right: auto;
	float: none!important;
	border-radius: 3px;
	padding-top: 0px!important;
	margin-top: 50px!important;

}

.cb5.green{
	background-color: #BADD8C!important;
}

.cb5.yellow{
	background-color: #FCE8C2;
}

.cb5 .photo {
	border-radius: 3px 0px 0px 3px;
}

.cb5 .text  {
	border-radius: 0px 3px 3px 0px;
	position: relative;
	overflow: visible!important;
	height: 430px;
}

.cb5 .text .flex_cell_inner {
	background: #ffffff;
	padding: 30px 50px 30px 50px;
	position: relative;
	margin-left: -50px;
	width: calc(100% + 50px);
	border-radius: 3px 0px 0px 3px;
}

.cb5 .text h1,
.cb5 .text h3 {
	margin-top: 13px;
}

.cb5 h3,
.cb7 h3{
	font-size: 30px;
	line-height: 34px;
}

.cb6,
.cb7{
	max-width: 1200px!important;
	margin-left: auto;
	margin-right: auto;
	float: none!important;
	border-radius: 3px;
}

.cb6 .text,
.cb7 .text {
	border-radius: 0px 3px 3px 0px;
	background-color: #F0F6E6!important;
	color: #333333!important;
	min-height: 380px;
}

.cb6 .text a:not(.avia-button),
.cb7 .text a:not(.avia-button){
	/* color: #333333!important; */
	text-decoration: underline!important;
}

.cb6.yellow .text,
.cb7.yellow .text {
	background-color: #FEF5E6!important;
}

.cb6.white .text,
.cb7.white .text {
	background-color: #ffffff!important;
}

.cb6 .photo,
.cb7 .photo {
	border-radius: 3px 0px 0px 3px;
	min-height: 380px;
}

.cb6.photo-right .text,
.cb7.photo-right .text {
	border-radius: 3px 0px 0px 3px;
}

.cb6.photo-right .photo,
.cb7.photo-right .photo {
	border-radius: 0px 3px 3px 0px;
}

.cb6 .text .flex_cell_inner{
	display: table-cell;
	vertical-align: top;
}

.cb6 h3{
	background-color: #508C00!important;
	color: #ffffff!important;
	display: inline-block;
	padding: 10px 30px 10px 50px;
	border-radius: 0px 3px 3px 0px;
	margin: 0px 0px 50px 0px;
	position: relative;
	left: -50px;
	width: auto;
}

.cb6.yellow h3{
	background-color: #DF7C00!important;
}

.cb7 h3{
	color: #333333!important;
}

@media only screen and (min-width: 990px) {

	.cb3 > .container {
		padding-left: 0px;
		padding-right: 0px;
	}
}

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

	.cb6 .text,
	.cb6 .photo,
	.cb7 .text,
	.cb7 .photo,
	.cb6.photo-right .text,
	.cb6.photo-right .photo,
	.cb7.photo-right .text,
	.cb7.photo-right .photo{
		border-radius: 0px;
	}
}

@media only screen and (max-width: 989px) {
	
	.cb.intro .avia_textblock{
		font-size: 17px!important;
	}

	.cb h3{
		font-size: 32px;
		line-height: 36px;
	}
	
	.cb3.event-list .photo,
	.cb3 .flex_column.av_one_third.photo{
		min-width: 300px!important;
	}

	
	/* .cb3.event-list,
	.cb3 .entry-content-wrapper {
		display: flex;
		flex-wrap: wrap-reverse;
	}
	
	.cb3.event-list .text,
	.cb3 .text{
		width: 100%!important;
		padding-right: 0px!important;
	}
	
	.cb3.event-list .text h3,
	.cb3 .text h3{
		margin-top: 30px;
	} */
	
	.cb4 .text,
	.cb4 .photo,
	.cb5 .text,
	.cb5 .photo{
		border-radius: 0px;
	}
	
	.responsive #top #wrap_all .av-flex-cells.cb5 .no_margin{
		height: 430px!important;
	}

}

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

	cb.overview{
		padding-top: 50px!important;
	}
	
	.cb.intro .avia_textblock{
		font-size: 16px!important;
	}
	
	.cb h3{
		font-size: 30px;
		line-height: 34px;
	}
	
	.cb.small-heading h3{
		font-size: 24px;
		line-height: 28px;
	}
	
	.cb3.event-list,
	.cb3 .entry-content-wrapper {
		display: flex;
		flex-wrap: wrap-reverse;
	}
	
	.cb3.event-list .text,
	.cb3 .text{
		width: 100%!important;
		padding-right: 0px!important;
	}
	
	.cb3.event-list .text h3,
	.cb3 .text h3{
		margin-top: 30px;
	}

	.responsive #top #wrap_all .av-flex-cells.cb1 .no_margin{
		min-height: 0px!important;
		height: auto!important;
		padding: 0px!important;
		background-size: auto 380px!important;
		background-position: center top!important;
	}
	
	.cb1 .flex_column.inner{
		margin-top: 380px!important;
		margin-bottom: 0px!important;
		width: 100%!important;
		max-width: none;
		min-width: 0px;
		color: #ffffff;
		background-color: #333333;
		padding-left: 50px!important;
		padding-right: 50px!important;
		border-radius: 0px;
	}
	
	.cb1 .flex_cell_inner{
		display: block;
		border-radius: 0px;
	}
	
	.cb1 h3{
		margin-top: 0px;
	}
	
	.cb2 {
		flex-wrap: wrap;
	}

	.cb2 .photo{
		min-height: 380px!important;
	}
	
	.cb2 .text{
		min-height: 0px!important;
	}
	
	.cb3.jobs-list{
		display: block;
	}
	
	.cb3.jobs-list .job-button{
		margin-left: 0px;
	}
	
	.cb4{
		display: block!important;
	}
	
	.cb4 .text{
		min-height: 0px!important;
	}
	
	/* .cb4 .photo{
		display: none!important;
	} */
	
	.responsive #top #wrap_all .av-flex-cells.cb4 .no_margin{
		padding-left: 80px!important;
		padding-right: 50px!important;
	}
	
	.cb4 blockquote {
		font-size: 18px;
	}
	
	.cb4 blockquote:before{
		font-size: 40px;
		width: 40px;
		height: 40px;
		left: -60px;
		top: -16px;
	}
	
	.responsive #top #wrap_all .av-flex-cells.cb5 .no_margin.photo{
		height: 90vw!important;
	}

	.responsive #top #wrap_all .av-flex-cells.cb5 .no_margin.text{
		height: auto!important;
		padding: 30px!important;
	}
	
	.cb5 .text .flex_cell_inner {
		text-align: center;
	}
		
	.responsive #top #wrap_all .av-flex-cells.cb6 .no_margin.text{
		padding-left: 50px!important;
		padding-right: 50px!important;
	}

	.cb6 h3{
		padding: 10px 30px 10px 50px;
		margin: 0px;
		left: -50px;
	}
	
	.responsive #top #wrap_all .cb.overview .photo{
		display: none!important;
	}
	
	/* .responsive #top #wrap_all .cb7.mobile-photo-off .photo,
	.responsive #top #wrap_all .cb.overview .photo{
		display: none!important;
	} */
}

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

	.cb .avia-button{
		min-width: 0px!important;
	}

	.cb3.event-list .photo img,
	.cb3 .photo img{
		-webkit-box-shadow: 0px 10px 0px 0px #74C0C0; 
		box-shadow: 0px 10px 0px #74C0C0;
	}
	
	.cb3.event-list .photo,
	.cb3 .flex_column.av_one_third.photo,
	.cb3.event-list .photo img,
	.cb3 .flex_column.av_one_third.photo img{
		width: 100%!important;
		height: auto!important;
		min-width: 0px;
		min-height: 0px!important;
		padding-right: 0px;
	}
	
	.cb3.event-list,
	.cb3 {
		margin: 0px!important;
	}

	.cb3.event-list:first-child {
		padding-top: 0px!important;
	}

}

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

	.cb.intro .avia_textblock{
		font-size: 16px!important;
	}

	.cb h3{
		font-size: 28px;
		line-height: 32px;
	}

	.cb.small-heading h3{
		font-size: 24px;
		line-height: 28px;
	}
	
	.responsive #top #wrap_all .av-flex-cells.cb1 .no_margin{
		background-size: auto 300px!important;
	}
	
	.cb1 .flex_column.inner{
		margin-top: 300px!important;
		padding-left: 30px!important;
		padding-right: 30px!important;
	}
	
	.cb2 .photo{
		min-height: 300px!important;
	}
	
	.cb3.event-list .photo,
	.cb3 .flex_column.av_one_third.photo{
		min-width: 0px!important;
	}
	
	.responsive #top #wrap_all .av-flex-cells.cb4 .no_margin{
		padding-left: 60px!important;
		padding-right: 30px!important;
	}
	
	.cb4 blockquote:before{
		font-size: 36px;
		width: 36px;
		height: 36px;
		left: -44px;
		top: -14px;
	}
	
/*
	.responsive #top #wrap_all .av-flex-cells.cb5 .no_margin.photo{
		height: 300px!important;
	}
*/

	.responsive #top #wrap_all .av-flex-cells.cb5 .no_margin.text{
		padding-left: 20px!important;
		padding-right: 20px!important;
	}

	.cb5 .text .flex_cell_inner {
		padding: 17px 30px 17px 30px;
	}
	
	.responsive #top #wrap_all .av-flex-cells.cb6 .no_margin.text{
		padding-top: 0px!important;
		padding-left: 30px!important;
		padding-right: 30px!important;
	}

	.cb6 h3{
		display: block;
		padding: 10px 30px 10px 30px;
		width: calc(100% + 60px);
		left: -30px;
		margin-bottom: 15px;
		text-align: center;
	}	
}

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

	.cb h3{
		font-size: 24px;
		line-height: 28px;
	}

}

