/* Body layout font-family: 'Cardo', serif;
font-family: 'Open Sans', sans-serif;
*/
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 11pt;
    line-height: 1.7em;
    overflow-x: hidden;
    background-color: #ffffff;
    height: 100%;
    color: #000;
}

/*
.logged-in header  {
	margin-top: 32px !important;
}

.logged-in #responsive-menu-button {
	margin-top: 32px !important;
}
*/



/* Fonts etc.
-------------------------------------------------------------- */

h1, h2, h3, h4 {  font-weight: 700; letter-spacing: 0px; font-family: 'Roboto Slab', serif; }

h1 {
	padding: 0;
	font-size: 26pt;
	margin: 0 0px 20px 0px;
	line-height: 32pt;
	color: #2c718b;
}


h2 {
	padding: 0;
	font-size: 20pt;
	margin: 5px 0px 8px 0px;
	line-height: 28pt;
}

h3 {
	padding: 0;
	font-size: 16pt;

	line-height: 1.4em;
}

hr {
    border-top: none;
    border-bottom: 1px solid #ccc;
    padding: 0;
    overflow: hidden;
    margin-top: 25px;
    margin-bottom: 25px;
}


.hr_sm {
    border-top: none;
    border-bottom: 1px dotted #ccc;
    padding: 0;
    overflow: hidden;
    margin-top: 3px;
    margin-bottom: 3px;
}


/* layout */

#container {
    width: 100%;
    min-width: 400px;
    margin-top: 0;
    padding: 0;
    margin-bottom: -450px; 
  }


#logo {
    position: relative;
    width: 320px;
    padding: 0px;
    height: 89px;
    top: 8px;
    float: left;

}

#logo h1 {
    height: 100%;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-indent: -99999px;
    background-image: url("images/logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
}

.tagline {
	position: relative;
	width: 475px;
	float: right;
	text-align: right;
	padding-top: 15px;
	display: block;
}


.tagline p {
	font-style: italic;
	color: #999999;
	padding: 0;
	margin: 0;
	font-size:  14px;
	font-weight: 400;
}


.navigation {
	position: relative;
	top: 100px;
	background-color: #f0f6fa;
	height: 42px;
	border-top: 1px solid #efefef;
	border-bottom: 1px solid #efefef;
}

#body {
   	position: relative;
    top: 20px;
    overflow: hidden;
    height: 100%;
    max-width: 1088px;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    padding-bottom: 195px;
}

#content {
	width: 78%;
	float: left;
}
.centerwrap {
    margin: 0 auto;
    max-width: 1088px;
    min-width: 400px;
    padding:0;
}

.site-header {
    position: relative;
    width: 100%;
    height: 100px;
    background: #fff;
    margin: 0;
    padding: 0;
    top: 0;
    z-index: 100;
    margin-bottom: 50px;
}

/* tabs
-------------------------------------------------------------- */
.nav-tabs  {
   font-weight: 700;
   font-size: 1.1em;
   border-left: 3px solid #eee; 
   border-right: 3px solid #eee; 
   border-top: 3px solid #eee; 
   border-bottom: 0 solid #fff; 
   border-radius: 3px;
   background: #eee;
   font-family: 'Roboto Slab', serif;
   font-weight: 400;

}

.nav-tabs .nav-link {
    color: #333333;
    display: block;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0;
	font-weight: bold;
    text-decoration: none;
	 text-transform:capitalize;
}


.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #000;
    background-color: #fff;
    border-color: transparent !important;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
	border: 1px solid transparent !important;

}
.tab-pane { 
	border-left: 3px solid #eee; 
	border-right: 3px solid #eee; 
	border-top: none; 
	border-bottom: 3px solid #eee; 
	border-radius: 3px;
	padding-top: 20px;
}

/* banner photo
-------------------------------------------------------------- */

#banner {
	position: relative;
	background-color: transparent;
	margin: 0;
	padding: 0 0 30px 0;
	clear:both;
}

/* video wrapper */ 
.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin: 30px 20px 0 20px;
}
.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

	
		
/*  footer
-------------------------------------------------------------- */


.site-footer {
  background: #eee;
  clear: both;
  margin-top: 20px;
  padding: 20px 0;
  font-family: 'Roboto Slab', serif;
  font-weight: 400;
}

.site-footer_copyright {
  background: #3c4044;
  clear: both;
  margin: 0 auto;
  padding: 10px 0;
  font-family: 'Roboto Slab', serif;
  font-weight: 400;
  color: #fff;
  font-size: .8em;
}
.site-footer_copyright a, .site-footer_copyright a:visited {  color: #fff; }


.site-footer .widget h4 {
    color: #FFF;
    padding-bottom: 4px;
    font-size: 1.4em;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.site-footer .textwidget {
    padding-left: 6px;
}

.site-footer .widget p {
    padding-bottom: 5px;
    padding-top: 5px;
    margin: 0;
    font-size:1.1em;
    color: #444444;
  
}

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

.site-footer .widget li {
    margin: 0;
    padding-bottom: 5px;
    font-size:1.1em;
    font-weight: 700;
}


.site-footer .widget img { margin-bottom: 10px;}

.site-footer .widget .fab { margin-top: 15px;  margin-right: 15px; font-size: 1.2em;}

.site-footer  .widget li a {
	color: #2c718b;
	position: relative;
	text-decoration: none;
}

.site-footer  .widget li a:hover {
	color: #000;
}

.site-footer  .widget li a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000;
  transform: scaleX(0);
  transform-origin: top left;
  transition: transform 0.1s ease;
}

.site-footer  .widget li a:hover::before {
  transform: scaleX(1);
}

.footer_column_1 { }
.footer_column_2 { border-left: 1px solid #2c718b;}
.footer_column_3 { border-left: 1px solid #2c718b;}

/* Widgets
----------------------------------------------- */


 
 
aside {
	 margin: 10px 0 20px 0;
	 border: 1px solid #eee; 
	 background: #eee;
	 border-radius: 20px; 
	 padding: 10px 20px; 
}

.wp-block-group__inner-container h2 {
	font-size: 1.3em; 
	margin: 0 0 10px 0;
    line-height: 1.2em;
    color: #2c718b;
}

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

.widget li{
	padding-bottom: 5px;
	padding-top: 5px;
	font-size: 9pt;
}

.widget li a{
	color: #AAA;
}

.widget li a:hover{
	color: #999;
}


/* Blog & other misc CSS
----------------------------------------------- */


div.datebox {
	display: block; 
	font-size: smaller;
	margin-bottom: 0;
	text-transform: uppercase;
	color: #000;
	font-weight: bold;
}




.post-date { 
	display: block; 
	font-size: smaller;
	margin-bottom: -5px;
	}

div.post {

    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 10px;
    border-bottom: 4px solid #F7F8FA;
    padding-top: 10px;
    padding-bottom: 10px;
}

div.post-mod {
	 padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 10px;
    border-bottom: 4px solid #F7F8FA;
}

div.post-sticky {
    background:#fbffe6;
	padding: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 10px;
}

.nav {
	 width: 100%;
     vertical-align: top;
}
.nav-previous {
    float: left;
    width: 50%;
     vertical-align: top;
      height: 40px;
}

 .nav-next {
    float: right;
    text-align: right;
    width: 50%;
    vertical-align: top;
    height: 40px;
}


.nav-previous a, .nav-next a {
    padding: 4px 6px;
    color: #222;
    font-size: 11px;
    text-transform: uppercase;
   font-weight: bold;
}

.navigation-blog a {
	 font-size: 11px;
	 font-weight: bold;
}

#breadcrumbs{
    list-style:none;
    margin:0;
    padding: 0;
    overflow:hidden;
}
  
#breadcrumbs li{
    display:inline-block;
    vertical-align:middle;
    margin-right:10px;
    font-size: .8em;
}
  
#breadcrumbs .separator{
    font-size: .8em;
    font-weight:100;
    color:#ccc;
}

.b-search_result_list__item_breadcrumbs {
	font-size: .8em;
	}



/*  SECTIONS  ============================================================================= */

.section {
	clear: both;
	margin: 0 auto;
	max-width: 1088px;
	min-width: 500px;
}



/* ******** ------- ********** */
/* ******** top bar ********** */
/* ******** ------- ********** */

.top-bar-menu { 
	text-align: center;
	text-transform: uppercase;
    font-weight: bold;
    font-size: 9pt;
	padding: 5px 0;
	background: #eee;
	display: none;
}

.top-header-menu { 
	text-align: right;
	text-transform: uppercase;
    font-weight: bold;
    font-size: 10pt;
	margin-bottom: 3px;
}

.top-bar-menu li, .top-header-menu li { display: inline; margin-left: 15px; }
.top-bar-menu a:link, .top-bar-menu a:visited, .top-header-menu a:link, .top-header-menu a:visited { 
	color: #000 !important; 
	font-weight: 700;
	 letter-spacing: 1px;
}
.top-bar-menu a:hover, .top-header-menu a:hover { 
	color: #026d8b !important; 
	text-decoration: none;
}




.top_facebook:before { 
	font-family: "fontawesome";
	content: "\f082";
	font-size: 1em;  
	position: relative;
	top: 0;
	right: 3px;
}

.top_twitter:before { 
	font-family: "fontawesome";
	content: "\f081";
	position: relative;
	top: 0;
	right: 3px;

}
.top_youtube:before { 
	font-family: "fontawesome";
	content: "\f431";
	position: relative;
	top: 0;
	right: 3px;
}
.top_publications:before { 
	font-family: "fontawesome";
	content: "\f02d";
	position: relative;
	top: 0;
	right: 3px;
}


.top_facebook:hover::before,
.top_twitter:hover::before,
.top_youtube:hover::before,
.top_publications:hover::before
 { 	color: #026d8b !important;  }

/* Menu
----------------------------------------------- */

.mobile-menu { display: none;
	background-color: #f0f6fa;
	margin-bottom: 20px;
	padding-bottom: 20px;
}

.navbar-light .navbar-toggler {
    color: rgba(0,0,0,1);
    border-color: rgba(0,0,0,1);
    background: #fff !important;
}

.navbar-toggler {
    border: 2px solid transparent;
    padding: 8px 15px;
   }




.main-navigation {
    top: 15px;
	background-color: #f0f6fa;
	height: 42px;
	border-top: 1px solid #efefef;
	border-bottom: 1px solid #efefef;
	float:right;
    width: 100%;
	clear: both;
	position: relative;
	color: #000;
	font-weight: 700;
    margin-left: auto;
    margin-bottom: 35px;
    letter-spacing: 1px;
    display: flex; }

.main-navigation .donate {
	background-color: #ffc02a;
}
.menu_mobile { display: none; } 

.main-navigation ul {
    margin: 0px 0 0 0;

    list-style-type: none;
    float: left;
}

.main-navigation > li > a, .main-navigation li.current_page_ancestor a {
	background-color: #3c4044;
}

.navbar-expand-md .navbar-nav .nav-link {
    padding-right: .6rem;
    padding-left: .6rem; 
}


.main-navigation ul li a, .nav-link {
    color: #333333;
    display: block;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0;
	font-weight: bold;
    text-decoration: none;
	text-transform: uppercase;
}
.main-navigation ul li a:hover { color: #fff !important; }

.main-navigation ul.sub-menu li:first-child > a{
    border-top:none!important;
}
.main-navigation ul li a span{
      color: #FFF;
      font-size: 10px;
      font-style: italic;
      text-transform: capitalize;
      display: block;
}
.main-navigation ul li a i{
    color:#FFF;
    margin-right: 10px;
}
.main-navigation li:hover a{
    color: #FFF;
	background-color: #2c718b;
}

.main-navigation li.current_page_item:hover a,#main-navigation li.current_page_item:hover{background: #2c718b;} 
.main-navigation li.current-menu-parent:hover > a{background: #2c718b!important;}
.main-navigation li.current-menu-parent ul.sub-menu li.current_page_item {background-color: #2c718b!important;}

.main-navigation li.current_page_item,  #main-navigation li.current-menu-parent{background: #3c4044;}
.main-navigation li.current_page_parent a, .main-navigation li.active a { color: #fff !important; }

.dropdown-item { 
	font-size: 12px; 
	padding: 5px 10px !important;
    text-transform: none !important;
    font-weight: 400 !important;
    border-bottom: 1px solid #fff;
    color: #fff !important;
}

 .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background-image:none !important;
    color: #000 !important;
 }
 .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background-color:#3c4044;
 }
.main-navigation li.current_page_ancestor .dropdown-menu li.current_page_item a {
    background: none !important;
}

.dropdown-menu { padding: 0 !important; border: none; }




@media (min-width:769px) {
ul .dropdown:hover > .dropdown-menu {
  display:block;
}
ul .dropdown > .dropdown-menu {
  display:none;
}
}


.body-text-home { margin-top: 60px; }
.body-text { margin-top: 150px; }

/* content styling */
.supporters_logos {
    padding: 13px 6px;
    max-width: 175px;
    max-height: 125px;
    width: auto;
    height: auto;
    margin: 3px 0;
    
}

/* WordPress Core
-------------------------------------------------------------- */

body.admin-bar #branding-wrap{top: 28px;} 
body.admin-bar #wrapper{margin-top: 145px;}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption { 
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}






.alignleft {
    font-weight: bold;
    margin-bottom: 5px;
    margin-right: 10px;
    font-color: #52555f;
    padding: 4px;
	text-transform: uppercase;
	font-size: 12pt;
    float: left;
}

.alignleft a:link, .alignleft a:visited, .alignright a:link, .alignright a:visited {
    color: #343434;
    text-decoration: none;
}

.alignright {
  font-weight: bold;
    margin-bottom: 5px;
    margin-right: 10px;
    font-color: #52555f;
    padding: 4px;
	text-transform: uppercase;
	font-size: 12pt;
    float: right;
}

/* Links */
a,
a:visited {
	color: #2c718b;
	text-decoration: none;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
}
a:hover{
	color: #999;
}
a:focus,
a:active {
	color: #666;
}


/* CONTENT STYLING */

.home_icons img { 
	max-width: 135px;
	width: 100%;
	height: auto;
	margin-bottom: 0;
}
.home_icons a {
    font-size: 1.1em;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    line-height: 1.2em;
    color: #2c718b;
	font-weight: 700;
}

h1.page-title{
	padding-top: 0;
	padding-bottom: 10px;

	color: #000;
	position: relative;
    margin: 0 ;
    -webkit-font-smoothing: antialiased;
	
	font-size: 32px;
    font-size: 3.8rem;
}


/* homepage highlight */

.parentDiv {
	width:100%;
	display: block;
	height: auto;
	float: left;
	padding-bottom: 20px;
}

@media screen and (min-device-width: 730px) {
	.home_box {
		width: 33.3%;
		float: left;
		padding-top: 10px;
		padding-left: 0px;
		padding-right: 0px;
	}
}

@media only screen and (max-width: 730px) {
	.home_box {
	    width: 98%;
	    float: left;
	    padding-top: 20px;
	    padding-left: 0px;
	    padding-right: 0px;
	    margin-top: 10px;
	    margin-bottom: 10px;
	}
}
.home_thumb {
	border-color: #ffffff;
	border-style: solid;
	border-width: 5px;
	width:200px; height: 150px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
	margin-left: auto;
    margin-right: auto
}

.home_thumb img {
border: 0px;}


.home_padding {
padding-top: 10px;
padding-left: 23px;
padding-right: 15px;
font-size:14px;

line-height: 15px;
}

.home_padding h3 {
	padding: 0px;
	margin: 0;
}

h3.home_h3  {
	font-size: 15pt;
}

.home_date {
	font-size: 11px;
	padding-bottom: 3px;
}

.home_hr {
   margin-top: 8px;
   margin-bottom: 8px;
   border-bottom: 4px solid #F7F8FA;
}

.home_text {
	font-size: 13px;
	line-height: 1.5em;
}
.featured_image_wrap {
	width: 95%;
	margin-left: auto;
    margin-right: auto;
	margin-top: 15px;
	margin-bottom: 15px;
}
.featured_image {
	border-color: #ffffff;
	border-style: solid;
	border-width: 5px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
	margin-left: auto;
    margin-right: auto
   width: 90%;
   }
   
  .featured_image img {
	 width:100%;  
	  height: auto;
  }
  
/* homepage carousel */
.carousel-item img { 
	width: 100%; 
	max-width: 100%; 
	height: auto; 
}
.carousel-caption {
	position: relative;
    left: 0;
    top: 0;
    background: rgb(61, 157, 179);
}
.btn-carousel { background: #fff; color:#238aab;  text-transform: uppercase;  font-size: 1em; padding: 10px 20px;}
a.btn-carousel { text-decoration: none; }
.carousel-caption h1 { font-size: 4em; margin: 0 0 10px 0; text-align: left; line-height: 1.1em;  }
.carousel-caption p { font-size: 1.3em;  text-align: left; line-height: 1.3em;   }
.carousel-indicators li {
  width: 20px;
  height: 20px;
  margin: 5px;
  border-radius: 100%;
 
}
.carousel-indicators {  background-color:#238aab;  }
@media only screen and (max-width: 1150px) {	
 .carousel-caption { top: 5%; left: 5%; width: 70%; }	
 .carousel-caption h1 { font-size: 3em;  }
}
@media only screen and (max-width: 950px) {	
	.carousel-caption { 
		 bottom: 0; 
		 left: 0; 
		 width: 100%; 
		 max-width: 950px; 
		 top: auto; 
		 position: relative;
		 padding: 15px 20px;
	}	
	.carousel-indicators { display: none; }
}
@media only screen and (max-width: 576px) {	
	 .carousel-caption h1 { font-size: 2.3em;  }
	 .carousel-caption p { font-size: 1em; }
	 .btn-carousel {  padding: 5px 10px; }
	
}

/* study groups page */

.scrollme {
    overflow-y: auto;
    padding: 10px 0;
}



/* staff */
.staff_card { margin: 0; border-radius: 5px; }
.staff_card_even { background: #f0f6fa;  }
.staff_card_odd { background: #eee; }
@media only screen and (max-width: 768px) {
.staff_card_odd { background: #f0f6fa; }	
}
.staff_pane { margin-right: 3px; }
.staff_img { text-align: center; padding: 0; }
.staff_img img { max-width: 120px; border-radius: 5px 0 0 5px; }
.staff_city { font-size: .8em; color: #0c2c43; text-transform: uppercase; line-height: 10pt !important; margin-bottom: 5px;}
.staff_name { font-size: 1em; font-weight: 700; color: #2c718b;  text-transform: uppercase; word-wrap: break-word; line-height: 12pt !important; margin-bottom: 5px; }
.staff_title { font-size: .8em; text-transform: uppercase; line-height: 10pt !important;  margin-bottom: 5px; }
.staff_content { font-size: .8em; color: #0c2c43;   line-height: 12pt !important; margin-bottom: 5px; }
.staff_content p  { margin: 0; }

/* CUSTOM FIELDS FOR BLOG */
.register_box {
	width: 30%; float: right; padding: 0px; border: 1px solid #9c9c9c; border-radius: 5px; background-color: #dfdfdf; margin: 15px;
}

.register_line { width: 100%; clear: both; padding-bottom: 10px; }
.register_left { float: left; font-size: .8em; font-weight: bold; width: 60px; padding-right: 5px; text-align: right;}
.register_right { float: left; font-size: .9em;  }
.register_image {
	 width: 100%;
    height: 100%;
}
.register_image img {
    max-width: 100%;
    max-height: 100%;
    position: relative;
    top: 50%;
    border-bottom: 1px solid #9c9c9c;
    margin-bottom: 5px;
}
button.register  {
    width: 90%;
    cursor: pointer;
    background: #2c718b;
    padding: 8px 5px;
    color: #fff;
    font-size: 18px;
    border: 1px solid rgb(28, 108, 122);
    font-weight: 700;
    margin-top: 5px;
   margin-bottom: 5px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}



/* MEDIA QUERIES */


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

	#logo { width: 265px; }
	.top-header-menu li {
    margin-left: 10px;
	}
	.tagline { width: 425px; }
	.tagline p { font-size: .8em; }
	.toggle-sidebar { display: none;}
	.top-header-menu  { font-size: .8em; }
	.sidebar { margin-top: 50px; padding: 0 20px;}
	
	
} 


@media only screen and (max-width: 767px) {
	.site-header { display: none; }
	.mobile-menu { display: block; }
	#menu-main { margin-top: 20px;}
	.dropdown-menu { background-color: #2c718b;}
	.navbar-light .navbar-nav .nav-link {
	    color: rgba(0,0,0,1);
	    margin-left: 10px;
	}
	.donate { background-color: #ffc02a; border-radius: 10px;   }
	.menu_mobile { display: block; } 
	.footer_column_2, .footer_column_3 { border: none; margin-top: 20px; }

}

@media only screen and (max-width: 400px) {
	#logo { max-width: 75%; }
	.dataTables_length, .dataTables_filter { display: none; }
	.nav-tabs .nav-link {  padding: 3px 7px; font-size: .8em;	}
}

/* media query to hide top text / icons 
@media only screen and (max-width: 1090px) {
	

#logo {	width: 90%; margin: 0 auto; }
#logo h1 { background-position: center; }
.tagline  { display: none; }	
nav {  display: none; }
header {  }
#banner { 
	position: relative;
	top: 107px;
	background-color: #96cee2;
	margin: 0;
	padding: 0;
	
	-webkit-box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.95);
	-moz-box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.95);
	box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.95);
	clear:both;
 }
 
#banner img {
	width:100%;
} 
#body { top: 120px; }
header.sticky {  height: 71px; }
.nav, .nav-previous, nav-next { display: none; }
#content { width: 95%; float: none; padding-left: 20px; padding-right: 20px;}
#sidebar { width: 90%; float: left;  padding-left: 20px; padding-right: 20px; border-top: 4px solid #333; margin-top 10px;}
.span_1_of_3, .span_3_of_3, .span_3_of_3 { width: 90%; }

}
*/

/* Latest briefs block (home page) */
.cwn-latest { margin: 0 0 14px; }
.cwn-latest .cwn-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 12px; }
.cwn-latest .cwn-head h3 { font-family: 'Roboto Slab', serif; font-size: 19px; margin: 0; }
.cwn-latest .cwn-head a { font-size: 13px; font-weight: 700; text-transform: uppercase; color: #2c718b; }
.cwn-card { display: block; color: inherit; text-decoration: none; }
.cwn-card .cwn-thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; display: block; background: #eef2f4; }
.cwn-card .cwn-date { font-size: 12px; color: #777; margin: 10px 0 4px; text-transform: uppercase; letter-spacing: .03em; }
.cwn-card .cwn-title { font-family: Roboto, sans-serif; font-weight: 700; font-size: 15px; line-height: 1.3; color: #2c718b; margin: 0; }
.cwn-card:hover .cwn-title { text-decoration: underline; }
@media (max-width: 575px) { .cwn-latest .col-4 { flex: 0 0 100%; max-width: 100%; margin-bottom: 18px; } }

/* Cornerstone partner logos: keep them inside their columns on phones */
.page-id-450 .col-6 { display: flex; align-items: center; justify-content: center; }
.page-id-450 .col-6 img { max-width: 100%; height: auto; padding: 0 8px; }

/* Latest briefs: sidebar list layout and full Briefs page grid */
.cwn-latest-grid .col-4 { margin-bottom: 26px; }
.cwn-latest-list .cwn-card { margin: 0 0 16px; }
.cwn-latest-list .cwn-thumb { aspect-ratio: 16 / 9; border-radius: 6px; }
.cwn-latest-list .cwn-title { font-size: 14px; }
.cwn-latest-list .cwn-more { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; color: #2c718b; margin: 4px 0 6px; }
.cwn-latest-grid .cwn-head .cwn-more { font-size: 13px; font-weight: 700; text-transform: uppercase; color: #2c718b; }

/* Home page events heading */
.cwn-events-head { margin: 6px 0 4px; }
.cwn-events-head h3 { margin-bottom: 4px; }
.cwn-events-head .cwn-events-sub { font-size: 15px; color: #555; margin: 0 0 6px; }

/* Home page event list: the MembershipWorks container already draws a dotted top line, so drop the first event's solid one */
.page-id-450 #SFctr a.SFevt:first-of-type { border-top: 0 !important; padding-top: 10px !important; }
