body {
	margin: 0;
	font-family: 'Lato', sans-serif;
}

a {
	text-decoration: none;
}

ul {
	color: #333333;
}

.section-div {
	width: 100%;
	height: 85px;
	align-items: center;
	font-size: 35px;
	font-weight: 700;
	text-align:center;
	padding: 20px;
}

@media all and (max-width: 414px) {
	.section-div {
		height: 160px;
	}
}

.divider {
	width: 60%;
	margin: 10px auto 80px;
}

.divider-alt {
	width: 60%;
	margin: 60px auto 30px;
}

/* Font Colors */
.omh-blue {
	color: #1E355E;
}
.omh-orange {
	color: #F36E21;
}
.omh-light-green {
	color: #B8D87A;
}	
.omh-dark-green {
	color: #026937;
}
.omh-green {
	color: #7CC24D;
}
.omh-white {
	color: #ffffff;
}

/* Background Colors */
.omh-blue-bg {
	background: #1E355E;
}
.omh-orange-bg {
	background: #F36E21;
}
.omh-light-green-bg {
	background: #B8D87A;
}
.omh-dark-green-bg {
	background: #026937;
}
.omh-green-bg {
	background: #7CC24D;
}

/* Colored bars above and below hero image*/
.header-top {
	background-image: url('https://ohiomasonichome.org/app/uploads/2020/02/omh-colored-bar2.png');
	background-repeat: repeat;
	background-size: cover;
	width: 100%;
	height: 10px;
}
.header-bottom {
	background-image:url('https://ohiomasonichome.org/app/uploads/2020/02/omh-colored-bar2.png');
	background-repeat: repeat;
	background-size: cover;
	width: 100%;
	height: 10px;
	transform: rotate(180deg);
}

.header-img {
	width: 100%; 
	height:100%;
}

.wrapper {
	display: flex;
	flex-flow: row wrap;
}

.container-column {
	display:flex;
	flex-direction:column-reverse;
}

.therapy-item-container {
	width: calc(100% - 80px);
	margin: 0 auto;
	align-items: center;
}

.flex-item-container {
	display: flex;
}

@media all and (max-width: 414px) {
	.flex-item-container {
		flex-direction: column;
	}
}

.flex-item {
	flex: 0 1 auto;
	width: 50%;
}

@media all and (max-width: 414px) {
	.flex-item {
		width: 100%;
	}
}



/* We tell all items to be 100% width, via flex-basis */
.wrapper > * {
	flex: 1 100%;
}

.header {
	width: 100%;
}
.aside-1 {
	background: #FFFFFF;
	padding-bottom: 40px;
}
.left-copy-box {
	width: calc(100% - 80px);
	margin-left: auto;
	margin-right: auto;
	padding-top: 20px;
}
.aside-2 {
	/*background-image: linear-gradient(#ebebeb, #FFFFFF); */
	padding-bottom: 40px;
}

.intro-container {
    display: flex; 
    padding: 40px 20px; 
    background: #f2f2f2;
}

.intro-item {
    flex: 0 1 auto; 
    padding: 20px;
}

@media all and (max-width: 768px) {
    .intro-container {
        flex-direction: column;
    }
    .mob-center {
        text-align:center;
    }
}

.video-2 {
	/*background-image: linear-gradient(#C5C5C5, #FFFFFF);*/
}
.video-box {
	height: 400px; 
	width: 640px;  
	min-width: 600px; 
	margin-left: auto; 
	margin-right: auto; 
	margin-top: 40px;
	display: flex;
}
.video-box-button {
	font-size: 60px;
	margin: 0 auto;
	align-self: flex-end;
	padding-bottom: 20px;
}
.video-box-button a {
	text-decoration: none;
	color: #FFFFFF;
}
.secondary-btn {
	padding: 12px 0; 
	background-color: #FFFFFF;
	border: 1px solid #1E355E;
	width: 300px;
	text-align: center;
	color: #1E355E;
	font-weight: 700;
	font-size: 12px;
	font-family: 'Muli', sans-serif;
	float: left;
	margin-right: 15px;			
}
.learn-more-btn {
	padding: 12px 0; 
	background-color: #F36E21;
	border: 1px solid ;
	width: 300px;
	text-align: center;
	color: #FFFFFF;
	font-weight: 700;
	font-size: 12px;
	font-family: 'Muli', sans-serif;
	margin-right: 15px;	
	cursor: pointer;
}
.learn-more-btn:hover {
	background: #e86112;
	color: #FFFFFF;
}
.secondary-btn:hover{
	background: #1E355E;
	color: #FFFFFF;
}
.section-divider {
	border-bottom: 2px solid #1e355e;
	width: 1000px;
	margin: 80px auto 0px;
}





/* Medium screens */
@media all and (min-width: 1300px) {
/* We tell both sidebars to share a row */
	.aside { flex: 1 auto; }
	.aside-1 { flex: 1; }
}

@media all and (max-width: 1300px) {
	.show-button {
		display: block !important;
	}
	.hide-button {
		display:none;
	}
	.full-width {
		width: 100% !important;
	}
	.tab-no-margin {
		margin-top: 0px !important;
		margin-bottom: 70px;
	}
}

@media all and (max-width: 1299px) {
	.show-lg-display {
		display: block !important;
	}
	.hide-lg-display {
		display:none !important;
	}
}

/* Large screens */
@media all and (min-width: 800px) {
/* We invert order of first sidebar and main
* And tell the main element to take twice as much width as the other two sidebars 
*/

.main    { order: 2; }
.aside-2 { flex: 1; }
.footer  { order: 4; }

}
@media all and (max-width: 768px) {
	.section-divider {
		width: 80%;
	}
}
@media all and (max-width: 600px) {
	.hide {
		display: none;
	}
	.show {
		display: block !important;
	}
	.mob-btn-sec {
		display: block !important;
		margin-bottom: 40px;
	}
}
@media all and (max-width: 679px) {
	.secondary-btn {
		width: 100% !important;
		margin-bottom: 20px;
	}	
}
@media all and (max-width: 628px) {
	.video-box {
		min-width: 300px;
		max-width: 600px;
		max-height: 500px;
	}
	.aside-2 {
		height: 850px !important;
	}
	.bottom-pad {
		padding-bottom: 70px;
	}
}
@media all and (max-width: 512px) {

	iframe {
		width: calc(100% - 1px);
		height: 250px;
	}
	.iframe-box {
		width: calc(100% - 40px) !important;
		padding-top: 10px !important;
	}
}
@media all and (max-width: 425px) {
	.video-box {
		min-width: 300px;
		max-height: 169px;
	}	
	.left-copy-box {
		width: calc(100% - 40px);
		margin-bottom: 40px;
	}
	.bottom-pad {
		padding-bottom: 25px;
	}
	.show-button {
		height: 70px !important;
	}
}

@media all and (max-width: 414px) {
	.show-sm-display {
		display: block !important;
	}
	.hide-sm-display {
		display: none !important;
	}
}

.font-16 {
	font-size: 16px;
}




/* Style the tab */
.tab {
	overflow: hidden;
	border: 1px solid #ccc;
	background-color: #1E355E;
}

/* Style the buttons that are used to open the tab content */
.tab button {
	background-color: inherit;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	transition: 0.3s;
	color: #FFFFFF;
}

/* Change background color of buttons on hover */
.tab button:hover {
	background-color: #14233e;
}

/* Create an active/current tablink class */
.tab button.active {
	background-color: #F36E21;
}

/* Style the tab content */
.tabcontent {
	display: none;
	padding: 6px 12px;
	border: 1px solid #ccc;
	border-top: none;
}

.card-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	height: auto;
	margin: 40px 0px 60px 0px;
}
.card-container-item {
	flex: 0 1 auto;
	width: 300px;
    border: 1px solid #333333;
    margin: 30px;
}

.card-title {
	margin: 0px;
	padding:20px;
}
.card-content {
	padding: 15px;
	line-height: 1.5;
	text-align:left;
	color: #333333;
}


.footer-item {
	flex: 0 1 auto;
	height: 175px;
	width: 250px;
}

.footer-container {
	width: 100%; 
	height: 175px; 
	background: #313542;
}

@media all and (max-width: 414px) {
	.footer-container {
		flex-direction: column;
		height: 300px;
	}
	.footer-item {
		width: 100%;
		text-align:center;
	}
}

.logo {
	text-align:center;
}


/* Carousel Styling */

/* external css: flickity.css */

* { box-sizing: border-box; }

body { font-family: sans-serif; }

.carousel {
  background: #FFFFFF;
}

.carousel-cell {
  width: 66%;
  height: 200px;
  margin-right: 10px;
  background: #f2f2f2;
  border-radius: 5px;
  counter-increment: carousel-cell;
  display:flex;
  align-items: center;
}

/* cell number */
.carousel-cell:before {
  display: block;
  text-align: center;
  /*content: counter(carousel-cell);*/
  line-height: 200px;
  font-size: 80px;
  color: white;
}

.carousel-item {
	flex: 0 1 auto;
}

.carousel-img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: url("https://ohiomasonichome.org/app/uploads/2020/04/allen-hill-quote.jpg");
	margin: 20px;
	background-position: center;
}

.carousel-quote {
	padding: 20px;
	width: 60%;
	font-size: 14px;
	text-align: center;
}

.donation-form {
    max-width: 710px;
    margin: 0 auto;
}

		/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 130px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  text-align:center;
}

@media all and (max-width: 768px) {
	.modal-content {
		width: 80%;
	}
}

.modal-image {
    width: 400px;
    height: 400px;
}

@media all and (max-width: 414px) {
  .modal-image {
    width: 250px;
    height: 250px;
  }
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.team-container {
    width:425px; 
    margin: 0 auto; 
    height: 50px;
}

.click-me-btn {
  display:inline; 
  width: 100px; 
  height: 20px; 
  color: #fff; 
  background: green; 
  float:left; 
  cursor:pointer; 
  border:none;   
}

.team-name {
    cursor:pointer; 
    display:inline; 
    margin-top:3px;
}

@media all and (max-width: 414px) {
    .click-me-btn {
        width: 80px;
    }
    .team-container {
        width: 290px;
    }
    .mob-hide {
        display:none;
    }
}

.past-story-video {
	width: 300px;
	height: 200px;
}
