/*
Theme Name: Jewish Federation Theme
Author: Jeromy Condon
Author URI: https://rustygeorge.com/
Description: ACF & other embedded plugins not to be distributed separately.
Version: 1.0
*/

@import url('css/normalize.css');
@import url('css/base-layout.css');
@import url('css/flexslider.css');

/*
|====================================================
| TABLE OF CONTENTS
|   1. OVERALL LAYOUT STYLES
|	2. HEADER AREA STYLES
|	3. NAVIGATION STYLES
|	4. CONTENT AREA STYLES
|	5. SIDEBAR STYLES
|	6. FOOTER STYLES
|	7. MEDIA QUERIES
|
|
| SITE COLORS
|		ORANGE: 	#f57f3a;
|		TEAL: 		#00a79e;
|
|		DK SLATE:	#415155;
|		LT SLATE:	#dbe3e5;
|
|		BOX TAG: 	#cedbdb;
|
|		HEADINGS:	#51808d;
|
|		COPY TEXT:	#586062;
|
|
| TYPE
|		HEADINGS: 	Roboto Black;
|		COPY TEXT:	Roboto Regular;
|====================================================
*/


/*
|====================================================
| 1. OVERALL LAYOUT
|====================================================
*/

html { -ms-overflow-style: -ms-autohiding-scrollbar; }

body {
	background-color: #dbe3e5;
	background-color: #415155;
}

.outer-wrap {
	max-width: 2000px;
	margin: auto;
	//background-color: #dbe3e5;
	box-shadow: 0 0 20px rgba(0,0,0,.6);
}

.breadcrumbs-area,  
.main {
	background-color: #dbe3e5;
}

.container {
	max-width: 1400px;
	margin: auto;
}

@-webkit-keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@-webkit-keyframes scaleUp {
    from { -webkit-transform: scale(1); transform: scale(1); }
      to { -webkit-transform: scale(1.05); transform: scale(1.05); }
}

@keyframes scaleUp {
    from { -webkit-transform: scale(1); transform: scale(1); }
      to { -webkit-transform: scale(1.05); transform: scale(1.05); }
}

/*
|====================================================
| 2. HEADER STYLES
|====================================================
*/
header {
	background: #fff;
}

header .container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	padding: 10px;
}

header .logo img {
	display: block;
}

header .action-buttons a {
	font-weight: bold;
}

.mobile-scroll-logo {
	max-width: 40px;
	width: 40px;
	margin: 0 10px;
	//flex: none;
	display: none;
}

.mobile-scroll-logo a {
	display: inline;
	padding: 0;
}

.mobile-scroll-logo img {
	display: block;
	position: relative;
	top: 10px;
	//margin-top: -20px;
}

/*
|====================================================
| 3. NAVIGATION STYLES
|====================================================
*/

nav {
	background: #00a79e;
	position: relative;
	z-index: 500!important; /*to override the sticky.js setting of auto*/
}

.is-sticky nav {
	box-shadow: 0 0 10px rgba(0,0,0,.6);
}


.is-sticky nav .mobile-scroll-logo {
	display: block;
}

nav .container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	//justify-content: space-between;
}

nav ul {
	list-style:none;
	margin: 0;
	padding: 0;
}

.mega-menu > ul {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	padding: 0;
}

nav a {
	display: block;
	text-decoration: none;
	color: #fff;
	padding: 20px 15px;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
}

nav li {
	-webkit-transition: background-color .3s ease;
	transition: background-color .3s ease;
}

nav li:hover {
	background-color: #019890;
	color: #fff;
}

nav li:hover a {
	color: inherit;
}

nav .hmm:hover .mega-menu-box {
	display: block;
}

nav .hmm:hover {
	background-image: url("assets/nav-triangle.svg");
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 26px 13px;
}

.mega-menu-box {
	background: #415155;
	font-size: .8em;
	position: absolute;
	display: none;
	top:60px;
	right:0;
	left:0;
}

.mega-menu-box .mega-menu-container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	padding: 20px 10px;
	max-width: 1400px;
	width: 100%;
	margin: auto;
}

.mega-menu-box .mega-menu-container > div {
	margin: 0 50px 0 0;
	max-width: 140px;
	width: 100%;
}

nav .hmm:hover .mega-menu-box .mega-menu-container > div {
	-webkit-animation: fadeIn 1s;
	        animation: fadeIn 1s;
}

.mega-menu-box ul {
	list-style-type: none;
	padding:0;
	margin:0;
}

.mega-menu-box a {
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	padding: 5px 0;
	white-space: normal;
	-webkit-transition: color .3s ease;
	transition: color .3s ease;
}

nav .mega-menu-box li:hover {
	background: none;
}

nav .mega-menu-box a:hover {
	color: #00a79e;
}

.mega-menu-box .child-menu {
	min-height: 155px;
}

.child-menu img {
	max-width: 180px;
	max-height: 100px;
}

.mega-menu-box .grandchild-menu {
	margin-top: 5px;
}

.mega-menu-box .grandchild-menu a {
	font-weight: 400;
	text-transform: none;
	padding: 0;
}

.site-search {
	background: #019890;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	margin-left: auto;
}

.site-search input {
	background: url("assets/mag-glass.svg") no-repeat left 20px center transparent;
	background-size: 20px 20px;
	color: #fff;
	border: none;
	display: block;
	padding: 20px 5px 20px 60px;
}

.site-search input:focus {
	outline: none;
}

.site-search ::-webkit-input-placeholder {
   color: #fff;
}

.site-search :-moz-placeholder { /* Firefox 18- */
   color: #fff;  
}

.site-search ::-moz-placeholder {  /* Firefox 19+ */
   color: #fff;  
}

.site-search :-ms-input-placeholder {  
   color: #fff;  
}


/*
HOVER MENU STYLES
*/

.overlay-nav-logo {
	max-width: 250px;
}

.nav-toggle {
	//height:30px;
	//width: 30px;
	background: url(assets/hamburger.svg) no-repeat right center transparent;
	background-size: 30px 30px;
	cursor: pointer;
	position: absolute;
	right: 10px;
	top: 50%;
	margin-top: -20px;
	display:none;
	color: #fff;
	font-weight: bold;
	padding: 10px 40px 10px 0;
}

.submenu-toggle {
	display: none;
}

.overlay-nav-container {
	padding: 10px;
	position: fixed;
	z-index:9999;
	z-index: -1;
	top:0;
	bottom:0;
	left:0;
	right:0;
	background:#fff;
	//color: $accent;
	opacity:0;
	-webkit-transition: opacity .4s ease;
	transition: opacity .4s ease;
	overflow-y: scroll;
}

.overlay-nav-container ul {
	list-style:none;
	//font-size: 1.8em;
	margin: 0;
	padding:0;
}

.overlay-nav-content {
	background: #00a79e;
	position: relative;
}

.overlay-nav-content a {
	color: #fff;
}

.overlay-nav-content > ul > li {
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
}

.open .overlay-nav-container {
	opacity: 1;
	z-index:9999;
}

.overlay-nav-container li.current-menu-item {
	border:none;
}

.nav-overlay-toggle {
	position: absolute;
	z-index: 100;
	top: 25px;
	right:30px;
	cursor: pointer;
}

.nav-overlay-toggle img {
	display:block;
}

.overlay-nav-container a {
	text-align:left;
	display: block;
	text-decoration: none;
	color: #fff;
	padding: 20px 15px;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
}

.overlay-nav-container .mega-menu-box .child-menu {
	min-height: auto;
}

.mega-menu-container a {
	text-align:left;
	white-space: normal;
}

.overlay-nav-container li {
	-webkit-transition: background-color .3s ease;
	transition: background-color .3s ease;
}

.overlay-nav-container li:hover {
	background-color: #019890;
	color: #fff;
}

.overlay-nav-container li:hover a {
	color: inherit;
}

.overlay-nav-container .hmm:hover .mega-menu-box {
}

.overlay-nav-container .hmm:hover {
	background: none;
}

.overlay-nav-container .hmm:hover .mega-menu-box .mega-menu-container > div {
	//animation: fadeIn 1s;
}

.overlay-nav-container .mega-menu-box .mega-menu-container > div {
	max-width: 150px;
	width: 150px;
	-webkit-box-flex: 0;
	    -ms-flex: none;
	        flex: none;
}

.overlay-nav-container .mega-menu-box li:hover {
	background: none;
}

.overlay-nav-container .mega-menu-box a {
	padding: 0;
}

.overlay-nav-container .mega-menu-box {
	display: block;
	background: #415155;
	font-size: .8em;
	position: static;
	max-height:0;
	top:110px;
	right:0;
	left:0;
	overflow-x: scroll;
	-webkit-transition: max-height .3s;
	transition: max-height .3s;
}

.overlay-nav-container .child-menu img {
	width: 100px;
}

.overlay-nav-content {
	font-size: 1em;
}

.overlay-nav-content .hmm.open-submenu {
	background-color: #008e86;
}

.overlay-nav-content > ul {
	//display: flex;
	//flex-direction: column;
}

.overlay-nav-content > ul > li {
	border-top: solid 1px #008e86;
}

.overlay-nav-content .hmm {
	position: relative;
}

.overlay-nav-content .hmm > a{
	margin-right: 50px;
}

.submenu-toggle {
	content: "";
	width: 35px;
	height: 35px;
	position: absolute;
	right: 13px;
	top: 11px;
}

.submenu-toggle img {
	display: block;
	-webkit-transform: rotate(90deg);
	        transform: rotate(90deg);
	-webkit-transition: -webkit-transform .2s ease;
	transition: -webkit-transform .2s ease;
	transition: transform .2s ease;
	transition: transform .2s ease, -webkit-transform .2s ease;
}

.open-submenu .submenu-toggle img {
	-webkit-transform: rotate(-90deg);
	        transform: rotate(-90deg);
}

.overlay-nav-container .open-submenu .mega-menu-box {
	max-height: 9999px;
}
/*
END HOVER MENU STYLES
*/


/*
|====================================================
| 4. CONTENT AREA STYLES
|====================================================
*/
.main .container {
	background: #fff;
	padding: 50px 0 0 0;
}

.rgc-home-page-template .container {
	padding-top: 0;
}

.breadcrumbs-area .container {
	background: #fff;
}

.crumbs {
	margin: 0 50px;
	padding: 10px 0;
	border-bottom: solid 1px #ccc;
}

.breadcrumbs{
    margin:10px 0;
    overflow:hidden;
}
  
.breadcrumbs span{
    display:inline-block;
    vertical-align:middle;
    margin:0 5px;
}
  
#breadcrumbs .separator{
    color:#ccc;
}

#breadcrumbs a {
	text-decoration: none;
}

.featured-image {
	min-height: 600px;
	position: relative;
	z-index: 50;
}

.featured-image:after {
	content: "";
	display: block;
	position: absolute;
	z-index:51;
	bottom:0;
	right:0;
	left:0;
	height:300px;
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
}

.featured-image h1 {
	position: absolute;
	z-index: 55;
	bottom: 50px;
	left:0;
	right:0;
	text-align: center;
	color: #fff;
	margin: 0 auto;
	//width: 1000px;
	//max-width: 1000px;
	padding:0 200px;
}

.featured-image img {
	width: 100%;
	display: block;
}

.flex-slider {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.flex-text {
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
	margin-left: 20px;
	color: #CEDBDB;
}

.flex-text h2 {
	font-size: 1.2em;
	text-transform: none;
	color: #fff;
}

.flex-slider a.button {
	color: #fff;
	font-weight: 700;
	font-size: 1em;
	padding-left: 0;
}

.calendar-link {
	margin: 0;
	position: absolute;
	bottom: 0;
	right:0;
}

.flex-slider a.button:after {
	background: url("assets/button-arrow-white.svg") no-repeat left top;
}

.content-area {
	max-width: 800px;
	margin: auto;
}

.content-area.calendar-page {
	max-width: 100%;
	padding: 0 50px;
}

.simcal-event-title {
	display: block;
	position: relative;
	padding: 5px 0 5px 20px !important;
}

.simcal-event-details .simcal-event-title {
	padding: 0 !important;
}

.simcal-default-calendar-grid .simcal-events>.simcal-event {
	border-bottom: solid 1px #ccc !important;
	margin: 0 5px 0 5px !important;
}

.simcal-default-calendar-grid .simcal-events>.simcal-event:last-child {
	border-bottom: solid 1px #ccc !important;
	margin: 0 5px 0 5px !important;
}

.simcal-default-calendar-grid .simcal-events>.simcal-event:hover {
    text-decoration: none!important;
}

.simcal-event-title > span {
	font-size: 3em;
	line-height: .5;
	margin-right: 5px;
	position: absolute;
	top: 3px;
	left: -2px;
}

.featured-content-area {
	background: #415155;
	color: #fff;
	position: relative;
	padding: 100px 0;
}

.featured-content-area > div {
	max-width: 800px;
	margin: auto;
}

.featured-content-area h1,
.featured-content-area h2,
.featured-content-area h3,
.featured-content-area h4 {
	font-size: 1.9em;
	color: inherit; 
	margin-top: 0;
}

.featured-content-area p {
	color: #CEDBDB;
}

.featured-content-area a.button {
	color: #fff;
	font-weight: 700;
	//font-size: 1.3em;
	padding-left: 0;
}

.featured-content-area a.button:after {
	background: url("assets/button-arrow-white.svg") no-repeat left top;
}

.cta-area {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.cta-area > div {
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
	background: #00a79e;
}

.cta-area > div:nth-child(2) {
	background:#019890;
}

.cta-area a {
	color: #fff;
	display: block;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	padding: 50px;
	font-weight: 700;
	font-size: 1.3em;
}

.cta-area a:hover {
	background: rgba(255,255,255,.3);
}

.page-links ul {
	margin-top: 50px;
	font-size: 1.133em;
	list-style:none;
	text-transform: uppercase;
	font-weight: 900;
	padding:0;
}

.page-links li {
	border-bottom: solid 1px #ccc;
}

.page-links a {
	display: block;
	text-decoration: none;
	background-image: url("assets/right-arrow-teal.svg");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 17px 13px;
	padding: 8px 8px 8px 25px;
}

.page-links a:hover {
	background-image: url("assets/right-arrow-teal-hover.svg");
}

.page-subfooter {
	margin-top: 100px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.page-subfooter > div {
	width: 50%;
}

.statistic,
.blog-featured {
	padding: 75px;
	background: #00a79e;
	color: #fff;
	position: relative;
}

.statistic-content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.statistic-text {
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
	padding-right: 40px;
}

.rgc-home-page-template .statistic-image {
	margin-bottom: 30px;
}

.statistic h1,
.statistic h2,
.statistic h3,
.statistic p {
	margin: 0 0 15px 0;
	color: #fff;
	font-weight: 700;
}

.statistic a.button, 
a.button.alt {
	color: #fff;
	//font-size: 1.3em;
	padding-left:0;
	//font-weight: 700;
}

.statistic a.button:after,
a.button.alt:after {
	background: url("assets/button-arrow-white.svg") no-repeat left top;
}

.blog-featured {
	padding: 75px 120px;
	background: #415155;
}

.blog-featured.homebox {
	padding: 0;
}

.blog-featured.homebox .blog-featured-content {
	padding: 100px;
}

.blog-featured-content > div {
	margin-bottom: 30px;
}

.featured-date {
	font-size: .8em;
	color:#dbe3e5;
}

.blog-featured p {
	//margin-top:0;
	margin:0;
	font-weight: 700;
	font-size: 1.3em;
}

.blog-featured a {
	color: #fff;
}

.box-tag {
	width: auto !important;
	position: absolute;
	top:0;
	left:0;
	background: #CEDBDB;
	color: #586062;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 10px 20px;
}

.page-footer-cta {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	padding: 300px 200px 100px 200px;
	background: url(assets/test-hero.jpg) no-repeat center top;
	background-size: cover;
}

.page-footer-cta-content {
	text-align:center;
	font-weight: 700;
	font-size: 1.3em;
	background: #00a79e;
	color: #fff;
	padding: 50px 75px;
}

.row-50-50 {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.row-50-50 > div {
	-webkit-box-flex:1;
	    -ms-flex:1;
	        flex:1;
}

.row-70-30 {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.row-70-30 > div:first-child {
	width: 70%;
}

.row-70-30 > div:nth-child(2) {
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
}

.row-30-70 {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.row-30-70 > div:first-child {
	width: 30%;
}

.row-30-70 > div:nth-child(2) {
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
}

.homebox {
	position: relative;
}

.homebox.dark {
	background: #415155;
	color: #fff;
}

.homebox-content {
	position: relative;
	padding: 70px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.homebox-content > div {
	width: 100%;
}

.homebox-hero img {
	display: block;
}

.home-magazine-box {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
}

.home-magazine-box > div {
	-webkit-box-flex: 0;
	    -ms-flex: 0 auto;
	        flex: 0 auto;
}

.home-magazine-box > div:first-child {
	padding-right: 30px;
	width: 75%;
}

.rgc-home-page-template .statistic {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	//justify-content: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
}

.rgc-home-page-template .statistic-content {
	display: block;
}

.jobs-area {
	padding: 0 100px;
}

.jobs-list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.jobs-list > div {
	width: 250px;
	margin-right: 30px;
}

.job-org {
	color: #415155;
	font-size: .9em;
	margin: 0;
}

.sponsors-area {
	padding: 0 100px;
}

.sponsor-list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.sponsor-list > div {
	padding: 20px;
	border: solid 1px #ccc;
	margin: 10px;
	width: 200px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

.sponsor-list .logo-wrap {
	width: 100%;
	text-align:center;
}

.sponsor-list > .linked {
	padding: 20px;
	border: solid 1px #ccc;
	margin: 10px;
	width: 200px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	position: relative;
}


.sponsor-list > .linked .overlay {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	opacity:0;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	position: absolute;
	top:0;
	right:0;
	bottom: 0;
	left: 0;
	background-color: rgba(0,167,158,.95);
	color: #fff;
	-webkit-transition: opacity .3s ease;
	transition: opacity .3s ease;
}

.sponsor-list > .linked:hover .overlay {
	opacity: 1;
}

.sponsor-list > .linked.platinum-level {
	width: 575px;
}

.sponsor-list .button {
	color: #fff;
	font-weight: 700;
}

.sponsor-list .button:after {
	background: url("assets/button-arrow-white.svg") no-repeat left top;
}

.staff-area {
	padding: 0 100px;
}

.board-members {
	display: flex;
}

.board-members > div {
	flex: none;x
	width: 50%;
	padding: 0 20px;
}

.staff-list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.staff-list > div {
	padding: 20px;
	margin: 10px;
	width: 220px;
}

.staff-name {
	font-weight: 700;
}

.staff-meta {
	font-size: .8em;
	line-height: 1.3;
}

.staff-img img {
	border: solid 1px #ccc;
}

.magazine-list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.magazine-list > div {
	padding: 0;
	margin: 10px;
	width: 180px;
	font-size:.8em;
}

.pave-groups {
	padding-top: 20px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.pave-group {
	width: 50%;
	margin-bottom: 20px;
}

.pave-group:nth-child(odd) {
	padding-right: 40px;
}

.pave-group:nth-child(even) {
	padding-left: 40px;
}

.pave-text {
	border-bottom: solid 1px #ccc;
}

.post-flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin: 0 100px;
}

.post-flex .content-area {
	width: 75%;
	max-width: 100%;
	margin: 0;
	padding-right: 40px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.post-flex .content-area article {
	width: 50%;
	margin-bottom: 20px;
}

.single .post-flex .content-area article {
	width: 100%;
}

.related-stories {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.single .post-flex .content-area .related-stories article {
	width: 50%;
}

.post-flex .content-area article:nth-child(odd) {
	padding-left: 10px;
}

.post-flex .content-area article:nth-child(even) {
	padding-right: 10px;
}

.paged .post-flex .content-area article:nth-child(odd), 
.post-flex .content-area .related-stories article:nth-child(odd) {
	padding-left: 0;
	padding-right: 10px;
}

.paged .post-flex .content-area article:nth-child(even),
.post-flex .content-area .related-stories article:nth-child(even) {
	padding-right: 0;
	padding-left: 10px;
}

.post-flex .content-area article.first-post {
	width: 100%;
	padding:0;
}

.post-flex .featured-img {
	position: relative;
}

.post-flex .featured-img img {
	display: block;
}

.post-flex .post-excerpt {
	border: solid 1px #ccc;
	border-top: none;
	padding:20px;
}

.search .post-excerpt {
	border: none;
}

.post-flex .sidebar-area {
	width: 25%;
	max-width: 100%;
	margin: 0;
	padding-left: 40px;
}


.post-excerpt h2 {
	margin: 0 0 10px 0;
	text-transform: none;
	font-size: 1.467em; /* 22px */
}

.post-content h1 {
	margin-top: 15px;
	font-size: 2.667em;
}

.post-content h2 {
	font-size: 1.8em;
}

.post-content h3 {
	font-size: 1.2em;
}

.post-content .post-meta {
	text-transform: uppercase;
	font-size: .9em;
	letter-spacing: 2px;
}

.post-pagination {
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	margin-top: 100px;
	padding: 30px 0;
	border-top: solid 1px #ccc;
}

.rgc-pagination {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.social-sharing {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	//align-items: center;
}

.addtoany_shortcode {
	position: relative;
	top: -5px;
	margin-left: 10px;
}

.blog-featured-content h2 {
	margin-top: 20px;
}

.blog-featured-content a {
	color: #fff;
}

.blog-featured-content .post-meta{
	margin-bottom: 20px;
}

.more-posts-button {
	position: absolute;
	bottom: 0;
	right: 0;
}

.pj-content {
	margin-bottom: 30px;
}


.pj-events {
	border-top: solid 1px #ccc;
	margin-top: 30px;
	padding: 20px 0;
}

.pj-events .button {
	padding-left: 0;
}

/*
|====================================================
| 5. SIDEBAR STYLES
|====================================================
*/

.widget .title {
	color: #51808D;
	font-weight: 700;
	font-size: 1.2em;
	margin: 0 0 15px 0;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style:none;
}


/*
|====================================================
| 6. FOOTER STYLES
|====================================================
*/

footer {
	background: #415155;
	padding: 50px 0;
}

footer .container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	padding: 0 0 30px 0;
	border-bottom: solid 1px #74868B;
	margin-bottom: 30px;
}

footer .logo img {
	padding-left: 10px;
	display: block;
}

footer a.button {
	color: #fff;
}

footer a.button:after {
	background: url("assets/button-arrow-white.svg") no-repeat left top;
}

.footer-columns {
	max-width: 1400px;
	//max-height:100%;
	margin: auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

.footer-columns > div {
	        flex: 1 0 auto;
	margin: 0 10px;
	//height: 100%;
}

.footer-columns > div:first-child {
	-webkit-box-flex: 1.5;
	    -ms-flex: 1.5;
	        flex: 1.5;
	margin-left: 0;
	margin-right: 150px;
}

.footer-columns > div:last-child {
	-webkit-box-flex:.9;
	    -ms-flex:.9;
	        flex:.9;
	margin-right: 0;
	text-align: right;
}

.footer-columns p {
	margin: 0;
	color: #74868B;
}

.footer-columns a {
	color: #74868B;
}

.footer-columns ul {
	margin: 0;
	padding:0;
	list-style:none;
}

.footer-columns ul a {
	color: #dbe3e5;
}

footer .socials {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

footer .socials a {
	margin-left: 15px;
}

.page-footer-cta .button {
	padding: 15px 30px;
	//border: solid 1px #f57f3a;
	background: #fff;
}

.page-footer-cta .button:after {
	//background: url("assets/button-arrow-white.svg") no-repeat left top;
}

/*
|====================================================
| 7. MEDIA QUERIES
|====================================================
*/

@media (max-width: 1300px) {
	.footer-columns {
		padding: 0 10px;
	}

}

@media (max-width: 1200px) {
	body {
		font-size: 13px;
	}

	.flex-slider {
		display: block;
	}

	.flex-text {
		margin: 0;
	}

	.flex-direction-nav {
		margin-top: 0;
	}

	.calendar-link, 
	.more-posts-button {
		bottom: -15px;
	}

	.featured-image {
		min-height: 400px;
	}

}

@media (max-width: 1100px) {
	.featured-image h1 {
		font-size: 2.9em;
	}

	.mega-menu-box .mega-menu-container {
		padding: 10px;

	}

	.mega-menu-box .mega-menu-container > div {
		margin-right: 20px;
	}

	.mega-menu-box .child-menu {
		min-height: 115px;
	}
}


@media (max-width: 1000px) {

	.featured-image {
		min-height: 300px;
	}

	.mega-menu {
		display:none;
	}
	.nav-toggle {
		display:block;
	}

	.mega-menu-box .mega-menu-container {
		padding: 20px;

	}

	.submenu-toggle {
		display: block;
	}

	.site-search {
		width: 100%;
	}

	.logo img {
		width: 225px;
		//max-width: 225px;
	}

	.button:after {
		width: 25px;
		height: 25px;
	}

	.cta-area a {
		padding: 25px;
	}

	.homebox-content, 
	.statistic, 
	.blog-featured,
	.featured-content-area {
		padding: 75px 50px;
	}

	.page-footer-cta {
		padding: 150px 100px 50px 100px;
	}

	.box-tag {
		padding: 5px 10px;
	}

	.statistic-image img {
		max-width: 130px;
	}

	.post-flex {
		display: block;
	}

	.post-flex .content-area {
		width: 100%;
	}

	.post-flex .sidebar-area {
		width: 100%;
		padding: 0;
	}

	.post-flex .sidebar-area aside {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}

	.widget {
		margin: 0 25px 0 0;
	}

}

@media (max-width: 900px) {
	.mobile-hide {
		display: none!important;
	}

	.featured-image h1 {
		bottom: 20px;
		padding: 0 20px;
	}

	.cta img {
		max-width: 75px;
	}

	.row-50-50,
	.row-70-30, 
	.row-30-70 {
		display: block;
	}

	.row-50-50 > div,
	.row-70-30 > div, 
	.row-30-70 > div {
		width: 100%!important;
	}

	.flex-slider.event-flex {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}

	.event-flex .flex-text {
		padding-left: 50px;
	}

	.rgc-home-page-template .statistic-content {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}

	.rgc-home-page-template .statistic-text {
		padding: 0 0 0 40px;
	}

	.rgc-home-page-template .statistic-cta {
		text-align:right;
	}

	.main .container {
		padding-top: 20px;
	}

	.home .main .container {
		padding-top: 0;
	}

	.post-flex .content-area {
		padding: 0;
	}

	.staff-area,
	.sponsors-area,
	.jobs-area {
	    padding: 0 50px;
	}

	.post-flex {
		margin: 0 50px;
	}

	.post-pagination {
		margin-top: 50px;
	}

	.page-subfooter {
	    margin-top: 50px;
	    display: block;
	}

	footer {
		padding: 20px 0;
	}

	footer .container {
		margin-bottom: 20px;
		padding: 30px 50px 50px;
	}

	.footer-columns {
		//display: block;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		text-align:center;
		align-items: center;
	}

	.footer-columns > div {
	        flex: 1 0 auto !important;
		}

	.footer-columns > div:nth-child(1) {
		margin: 20px auto 0 auto;
		-webkit-box-ordinal-group: 5;
		    -ms-flex-order: 4;
		        order: 4;
		max-width: 300px;
	}

	.footer-columns > div:nth-child(2) {
		-webkit-box-ordinal-group: 2;
		    -ms-flex-order: 1;
		        order: 1;
	}

	.footer-columns > div:nth-child(3) {
		-webkit-box-ordinal-group: 3;
		    -ms-flex-order: 2;
		        order: 2;
	}

	.footer-columns > div:nth-child(4) {
		-webkit-box-ordinal-group: 4;
		    -ms-flex-order: 3;
		        order: 3;
	}

	.footer-columns > div:nth-child(5) {
		-webkit-box-ordinal-group: 6;
		    -ms-flex-order: 5;
		        order: 5;
		text-align:center;
		margin: 20px 0 0 0;
	}

	.footer-columns > div:first-child {
		//margin: 0 0 20px 0;
	}
	.footer-columns > div:last-child {
		//text-align:center;
		//margin: 20px 0 0 0;
	}

	footer .socials {
		display: block;
	}

	footer .socials a {
	   margin: 0 10px;
	}

	.page-subfooter > div {
		width: 100%;
	}

}

@media (max-width: 800px) {
	.content-area {
		padding: 0 20px;
	}

	.staff-area,
	.sponsors-area,
	.jobs-area {
	    padding: 0 20px;
	}

	.crumbs {
		margin: 0 20px;
	}

	.post-flex {
		margin: 0 20px;
	}

	.search .post-excerpt {
		padding: 0;
	}

	.homebox-content {
		padding: 30px;
	}

	.box-tag {
		font-size: .8em;
	}

	.flexslider {
		margin-top: 25px;
	}
}

@media (max-width: 700px) {
	.staff-list > div {
		width: 25%;
	}

	.featured-image {
		min-height: 300px;
	}

	.featured-image:after {
		height: 100px;
	}
}

@media (max-width: 600px) {
	.featured-image h1 {
	    font-size: 2.2em;
	}

	h2 {
		font-size: 1.8em;
	}

	.rgc-home-page-template .statistic-image {
		margin-bottom: 0;
	}

	.page-footer-cta-content {
		padding: 25px;
	}

	.page-footer-cta-content p {
		margin-top:0;
	}

	.pave-group:nth-child(odd) {
		padding-right: 10px;
	}

	.pave-group:nth-child(even) {
		padding-left: 10px;
	}

	.blog-featured-content > div:last-child {
		margin-bottom: 0;
	}

	.featured-image {
		//min-height: 300px;
	}
}

@media (max-width: 500px) {
	header .logo img {
		//max-width: 175px;
		width: 175px;
	}

	.action-buttons {
		text-align:right;
	}

	.featured-image {
		//min-height: 100px;
	}

	.featured-image h1 {
		font-size: 1.8em;
	}

	.cta-area {
		display: block;
	}

	.flex-slider.event-flex {
		display: block;
	}

	.event-flex .flex-text {
		padding-left: 0;
	}

	.page-footer-cta {
	    padding: 75px 50px 25px 50px;
	}

	.staff-list > div {
		width: 45%;
	}

	footer .container {
		display: block;
	}

	footer .container > div {
		text-align:center;
	}

	footer .logo img {
		display: inline;
	}

	.post-flex .content-area article {
		width: 100%;
		padding: 0!important;
	}

	.related-stories {
		display: block;
	}

	.single .post-flex .content-area .related-stories article {
		width: 100%;
	}

	.action-buttons {
		max-width: 175px;
	}

	.home-magazine-box {
	    display: block;
	}

	.home-magazine-box > div {
		width: 100%!important;
		padding: 0!important;
	}

	footer .action-buttons {
		margin: auto;
	}

	.action-buttons a.button {
		padding: 3px;
	}

	.staff-list > div {
		padding: 0;
		width: 40%;
	}

	.pave-groups {
		display: block;
	}

	.pave-group {
		width: 100%;
		padding: 0 !important;
	}

	header .action-buttons a {
		font-size: 12px;
	}

	header .action-buttons a:after {
		width: 15px;
		height: 15px;
	}
}

@media (max-width: 400px) {
	header .logo img {
	    //max-width: 150px;
	    width: 150px;
	}

	.featured-image h1 {
	    font-size: 1.5em;
	}

	.rgc-home-page-template .statistic-content {
		display: block;
	}

	.rgc-home-page-template .statistic-text {
		padding: 0;
	}
}