@import url('../fonts/font-awesome/css/font-awesome.css');

* {
	box-sizing: border-box;
	font-weight: 400;
}

html,
body {
	margin: 0;
	padding: 0;
	border: 0;
}

body {
	font-size: 14px;
	line-height: 1.7em;
	font-family: 'Montserrat', sans-serif;
	color: #404344;
	background-color: #f7f8f9;
}

.mobile-header {
	display: none;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	border-bottom: 1px solid #eeeeee;
	z-index: 2;
	background-color: #ffffff;
}

.header-association-name {
	display: inline-block;
	width: 260px;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	/* border-right: 1px solid #eeeeee; */
	pointer-events: none;
}

.header-association-name h4 {
	margin: 0 auto;
	font-weight: 600;
	color: #4280F1;
	line-height: 74px;
	white-space: nowrap;
}

.header-search-wrapper {
	display: inline-block;
}

.header-association-select {
	display: inline-block;
	float: right;
}

.header-association-select select {
	margin: 12px auto;
	/* background-color: #f7f8f9; */
}

nav.navigation {
	position: fixed;
	top: 75px;
	bottom: 0;
	left: 0;
	width: 275px;
	padding: 20px 15px;
	border-right: 1px solid #eeeeee;
	background-color: #ffffff;
	overflow: scroll;
	z-index: 1;
}

nav.navigation a.home-shortcut {
	margin-right: 15px;
	color: #aaaaaa;
	line-height: 28px;
	float: left;
	cursor: pointer;
}

nav.navigation a.home-shortcut span.icon-home2 {
	font-size: 24px;
	line-height: 28px;
	vertical-align: bottom;
}

header .menu-toggle {
	color: #aaaaaa;
	line-height: 28px;
	float: left;
	cursor: pointer;
}

header .menu-toggle span.icon-menu {
	font-size: 24px;
	line-height: 28px;
	vertical-align: bottom;
}

nav.navigation .header-navigation-title {
	margin: 10px 0px 10px 0px;
	font-weight: bold;
	color: #aaaaaa;
}

nav.navigation a:link,
nav.navigation a:visited,
nav.navigation a:hover,
nav.navigation a:active {
	display: block;
	margin: 5px 0px 5px 0px;
	padding: 15px 12px 15px 12px;
	border-radius: 5px;
	font-weight: 500;
	color: #666969;
	transition: all ease 300ms;
	white-space: nowrap;
}

nav.navigation a.active,
nav.navigation a:hover {
	color: #4280F1;
	background-color: #ECF2FE;
}

nav.navigation a span {
	margin: 0 5px 0 0;
}

main {
	min-height: 100vh;
	padding: 75px 25px 50px 300px;
}

footer {
	/* min-height: 200px;
	background: linear-gradient(60deg, #7DCE82 0%, #4280F1 100%); */
}

section {
	padding: 25px 0;
}

a:link {
	font-size: 1em;
	transition: all 500ms ease;
}

a:link,
a:visited,
a:hover,
a:active {
	text-decoration: none;
	color: #4280F1;
}

a.danger {
	color: #C3423F;
}

p {
	margin: 0;
	margin-bottom: 20px;
	line-height: 1.7em;
}

span {
	line-height: 1.7em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 25px auto;
	font-family: 'PT Sans', sans-serif;
	font-weight: 400;
	font-style: normal;
	line-height: 1.5em;
	color: #aaaaaa;
}

h1 {
	color: #777c7e;
}

h3 {
    /* font-size: 20px; */
    font-weight: bold;
    color: #797b7c;
}

h4 {
	font-weight: bold;
	color: #404344;
}

hr {
	height: 1px;
	margin: 25px auto;
	padding: 0;
	border: 0;
	background-color: #e1e4e5;
}

img {
	display: block;
	max-width: 100%;
	max-height: 100%;
}

ul {
	margin-bottom: 20px;
}

.row {
	transition: all 200ms ease;
}

.clear {
	clear: both;
}

.clearfix {
	overflow: auto;
}

.panel {
	padding: 16px;
	border-radius: 8px;
	border: 1px solid #f3f5f6;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.20);
}

.panel.no-shadow {
	border-color: #e1e4e5;
	box-shadow: none !important;
}

.panel .panel-title {
	margin: 0px 0px 15px 0px;
	padding: 0px 0px 15px 0px;
	border-bottom: 1px solid #dedfe0;
}

.panel .panel-title h4 {
	margin: 0px;
	font-size: 20px;
	/* text-align: center; */
}

.back-to-top {
	position: fixed;
	display: none;
	width: auto !important;
	bottom: 25px;
	right: 25px;
	transition: all 200ms ease;
}

.section-navigation {
	padding-bottom: 0px;
}

.section-navigation nav {
	padding: 0px 0px 5px 0px;
	border-bottom: 2px solid #dedfe0;
}

.section-navigation nav a {
	margin: 0px 20px 0px 0px;
	padding: 8px 0px 8px 0px;
	border-bottom: 2px solid #dedfe0;
	font-weight: 600;
}

.section-navigation nav a.active {
	border-bottom: 2px solid #4280F1;
}

.toggle-section {
	/* padding: 0 0 25px 0; */
}

.toggle-section h3 {
	margin-top: 0;
}

.cover-photo {
	position: relative;
	min-height: 250px;
	margin-top: 25px;
	border: 5px solid #cccccc;
	border-radius: 15px 15px 15px 15px;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.cover-photo:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(23, 33, 33, 0.50);
	z-index: 0;
}

.cover-photo button#edit-cover-photo-button {
	position: absolute;
	width: auto;
	bottom: 20px;
	right: 20px;
	padding: 5px 15px;
	color: #666969;
	background-color: #eeeeee;
	z-index: 1;
}

.cover-photo button#edit-cover-photo-button:hover {
	background-color: #fafafa;
}

.page-title {
	margin: 0px 0px 0px 0px;
	/* padding: 35px 0px 10px 0px; */
	/* border: 1px solid #dddddd; */
	/* border-top: 0px; */
	/* border-radius: 10px 10px 10px 10px; */
	/* background-color: #ffffff; */
}

.page-title h1 {
	display: inline-block;
	margin: 0px 10px 0px 0px;
	/* padding: 0px 0px 10px 0px; */
	font-size: 36px;
	font-weight: bold;
	line-height: 40px;
	color: #404344;
	vertical-align: bottom;
}

.page-title .btn-circle {
	vertical-align: bottom;
}

.menu-toggle {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 40px;
	margin: 0px;
	color: #797b7c;
	overflow: visible;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.menu-toggle > span[class^="icon-"],
.menu-toggle > span[class*=" icon-"] {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	font-size: 16px;
	line-height: 40px;
	text-align: center;
	cursor: pointer;
}

.menu-toggle > span[class^="icon-"]:hover,
.menu-toggle > span[class*=" icon-"]:hover {
	background-color: #f7f8f9;
}

.menu-toggle .menu-dropdown {
	position: absolute;
	display: none;
	top: 50px;
	right: 0;
	width: 250px;
	padding: 10px;
	border-radius: 5px;
	background-color: #ffffff;
	box-shadow: 0px 1px 5px 0px rgb(0 0 0 / 30%);
	z-index: 100;
}

.menu-toggle .menu-dropdown .menu-dropdown-option {
	padding: 10px;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 500;
	color: #404344;
	text-align: left;
	line-height: 1.4em;
	cursor: pointer;
}

.menu-toggle .menu-dropdown .menu-dropdown-option:hover {
	background-color: #f7f8f9;
}

.menu-toggle .menu-dropdown .menu-dropdown-option > span[class^="icon-"],
.menu-toggle .menu-dropdown .menu-dropdown-option > span[class*=" icon-"] {
	margin: 0px 10px 0px 0px;
}

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

}

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

}

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

	main {
		padding: 51px 0px 50px 0px;
	}

	.cover-photo {
		top: 15px;
		min-height: 200px;
		margin: 0px 15px;
	}

	h1 {
		font-size: 28px;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		margin: 15px auto;
	}

	section {
		padding: 25px 0;
	}

	.desktop-header {
		display: none;
	}

	.mobile-header {
		display: block;
	}

	.mobile-header header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		padding: 0;
		overflow: auto;
		background-color: #ffffff;
		z-index: 10000;
	}

	.mobile-toggle {
		display: inline-block;
		height: 50px;
		width: 50px;
		font-size: 24px;
		text-align: center;
		line-height: 50px;
		background-color: #ffffff;
		float: left;
	}

	.mobile-toggle span {
		color: #4280F1;
	}

	.header-association-name {
		display: block;
		width: auto;
	}

	.header-association-name h4 {
		line-height: 1em;
	}

	nav.navigation {
		position: fixed;
		display: none;
		top: 50px;
		bottom: 0;
		left: 0;
		width: 0px;
		background-color: #ffffff;
		box-shadow: 0 0 5px 0px rgba(0, 0, 0, 0.50);
		z-index: 1000;
		white-space: nowrap;
		overflow-y: scroll;
	}

	nav.navigation a:link,
	nav.navigation a:visited,
	nav.navigation a:hover,
	nav.navigation a:active {
		font-size: 16px;
	}

	.discussion-element-container .discussion-read-more {
		display: block;
	}

}

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

}

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

}

/* Footer waves effect */

.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-top:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
  transform: rotate(180deg);
}

.parallax > use {
  animation: move-forever 50s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 14s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 20s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 26s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 40s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(90px,0,0);
  }
  100% {
    transform: translate3d(-85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
}

/* /Footer waves effect */
