/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 


.button{
    color: #ffffff;
}

#menu-button-menu{
	list-style: none;
	padding: 0;
	margin: 0;
}

#menu-button-menu li{
	margin: 10px;
	display: inline-block;
}

#menu-button-menu li a, .btn-staff-modal{
	display: inline-block;
	padding: 5px 15px;
	border: 1px solid #a01d28;
	background: #a01d28 !important;
	border-radius: 5px;
	text-transform: uppercase;
	font-size: 13px;
	text-decoration: none;
	border: 0 !important;
}

#menu-button-menu li a:hover{
	background: transparent !important;
	color: #fff !important;
}

@media (max-width: 767px) {
	#menu-button-menu{
		text-align: center;
		margin-bottom: 10px;
	}
}

.staff-members, .preceptor-list{
    display: flex;
    flex-flow: row wrap;
}

.preceptor{
    padding: 10px;
    width: 25%;
    text-align: center;
}

.preceptor img{
    width: auto;
    height: 200px;
    margin: 0 auto;
}


.staff-members .staff{
    flex: 1;
    max-width: 275px;
    text-align: center;
    margin-bottom: 25px;
}

.newsletters{
    display: flex;
    flex-flow: row wrap;
    margin: 0 -15px;
}

.newsletters .newsletter{
    width: 25%;
    padding: 15px;
}

@media (max-width: 1199px){
    .newsletters .newsletter{
        width: 33.333333%;
    }
}

@media (max-width: 767px){
    .newsletters .newsletter{
        width: 50%;
    }
}

.newsletters .newsletter .cover img{
    width: 100%;
    height: auto;
}

.awards .award{
    display: flex;
    flex-flow: row wrap;
    margin: 0 -15px;
}
.award .staff img{
    max-width: 500px;
}

.awards .award div{
    flex: 1;
    min-width: 250px;
    padding: 15px;
}

.awards .award img{
width: 100%;
height: auto;
}

#nav-below{
    display: flex;
}

#nav-below div{
    flex: 1;
}

#nav-below .nav-next{
    display: flex;
    justify-content: flex-end;
}

.embed-container { 
		position: relative; 
		padding-bottom: 56.25%;
		overflow: hidden;
		max-width: 100%;
		height: auto;
	} 

	.embed-container iframe,
	.embed-container object,
	.embed-container embed, .embed-container video { 
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
body.page-template-landing-page {
  height: 100%;
  background: #000;
}	
.landing-page {
  background-size: cover;
  background-position: 75% 50%;
  background-repeat: no-repeat;
  margin: 0 auto;
  height: 100%;
}
@media only screen and (min-width: 768px) {
  .landing-page {
    background-attachment: fixed;
  }
}
@media only screen and (max-width: 767px) {
  .landing-page {
    background-position: 56% 50%;
  }
}
.landing-page .landing-page-screen {
  background: rgba(0, 0, 0, .35);
  width: 100%;
  height: 100%;
  flex-grow: 1;
  min-height: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}
@media only screen and (max-width: 767px) {
  .landing-page .landing-page-screen {
    background: rgba(0, 0, 0, .7);
  }
}
.landing-page .landing-page-screen .landing-page-container {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  flex-shrink: 0;
  color: #fff;
  padding: 30px 60px;
}
@media only screen and (max-width: 767px) {
  .landing-page .landing-page-screen .landing-page-container {
    padding: 30px;
  }
}
.landing-page .landing-page-screen .landing-page-logo {
width: 50%;
max-width: 420px;
}

.landing-page .landing-page-screen .landing-page-content {
  text-shadow: 0 1px 1px #000;
  font-size: 1.25em;
  width: 65%;
  max-width: 600px;
}
@media only screen and (max-width: 991px) {
  .landing-page .landing-page-screen .landing-page-content {
    width: 80%;
  }
}
@media only screen and (max-width: 767px) {
  .landing-page .landing-page-screen .landing-page-content {
    width: 100%;
  }
}
.landing-page .landing-page-screen .landing-page-content h1 {
  line-height: 1;
  font-size: 250%;
}
.landing-page .landing-page-screen .landing-page-content h1 span {
  font-size: 150%;
}
@media only screen and (max-width: 991px) {
  .landing-page .landing-page-screen .landing-page-content h1 {
    font-size: 240%;
  }
}
@media only screen and (max-width: 767px) {
  .landing-page .landing-page-screen .landing-page-content h1 {
    font-size: 150%;
  }
}
.landing-page .landing-page-screen .landing-page-content .not-just {
  font-size: 1.5em;
}
.landing-page .landing-page-screen .landing-page-content .not-just-bottom {
  color: #faaf21;
  font-size: 300%;
  line-height: 110%;
  font-style: italic;
  line-height: 110%;
}
.landing-page .landing-page-screen .landing-page-form {
  max-width: 50%;
  min-width: 500px;
}
@media only screen and (max-width: 767px) {
  .landing-page .landing-page-screen .landing-page-form {
    max-width: 100%;
    min-width: auto;
  }
}

.single-preceptor .attachment-post-thumbnail{
        float: left;
        margin-bottom: 25px;
        margin-right: 25px;
        max-width: 200px;
}

.single-preceptor hr{
	clear: both;
}

.board-list{
    display: flex;
    flex-flow: row wrap;
    
}

.board-member{
    padding: 25px;
    display: flex;
    
}
.board-member h2{
    margin-top: 0;
}


.board-member .image{
    width: 100px;
    margin-right: 25px;
    flex-shrink: 0;
}

.single-board-members .attachment-post-thumbnail{
    float: right;
    margin-left: 50px;
    margin-bottom: 50px;
    max-width: 50%;
    height: auto;
}

@media (min-width: 768px){
    .board-member{
        width: 50%;
        
    }
    
    .board-member .image{
        width: 150px;
        margin-right: 50px;
    }
    
}

.upcoming-events .event{
    display: flex;
}

.upcoming-events .event .fl-photo{
    width: 200px;
    margin-right: 25px;
}

.mfp-wrap{
    padding: 50px !important;
}


.news-teasers{
    display: flex;
    flex-flow: row  wrap;
    margin: 0 -25px;
}

.news-teasers .news-teaser{
    width: 50%;
    padding: 25px;
}

@media (max-width: 767px){
    .news-teasers .news-teaser{
        width: 100%;
        padding: 25px;
    }
}

.past-meetings .button{
        color: #fff !important;
}
