/*
Theme Name: Sailing Club
Author: Anonymous
Author URI:
Version: 1
Description: Base theme for Wordpress
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sailingclub
Tags: one-column, two-columns
Theme URI:
*/
.brand-title {
    vertical-align: middle;
}
.related_post.wp_rp{
	list-style:none;
	padding:0;
	display: flex;
	margin:0;
    flex-wrap: wrap;
}
.related_post.wp_rp li{
	margin:0 0 20px;
	padding:0 15px;
	width:100%;
}
.wp_rp_thumbnail{
	display: block;
    float: left;
    width: 28%;
	margin-right:10px;
}
.wp_rp_publish_date{
	font-size: 12px;
    display: block;
    color: #9b9a9b;
	margin-left:calc(28% + 10px);
}
a.wp_rp_title{
	font-size: .75rem;
    font-weight: 500;
    text-transform: inherit;
    color: #0e2365;
	display:block;
	overflow:hidden;
	margin-bottom:.5rem;
	margin-left:calc(28% + 10px);
	line-height:1.2;
}
.wp_rp_excerpt{
	display:block;
	overflow:hidden;
	margin-left:calc(28% + 10px);
	font-size: .875rem;
    color: #9b9b9b;
}
.wp_rp_footer{
	display:none;
}
@media (min-width: 576px) {
.related_post.wp_rp li{
    max-width: 50%;
    flex: 0 0 50%;
}
}
@media (min-width: 768px) {
	.related_post.wp_rp li {
		max-width: 33.3333333333%;
		flex: 0 0 33.3333333333%;
	}
	a.wp_rp_title{
		font-size: 1.125rem;
	}
}
@media (min-width: 1200px) {
	.main-nav ul li:not(.nav-active).active a {
		padding-bottom: .875rem;
		border-bottom: 5px solid #488fe2;
	}
}
.footer .footer-title  a{
    font-size: 14px;
    font-weight: 700;
    padding-bottom: 5px;
}

.navigation .prev, .pagination .prev {
    font-weight: 700;
    margin: 0;
    padding-right: .5rem;
    color: #4a4a4a;
}
.navigation .prev:before, .pagination .prev:before {
    font-size: 10px;
	font-family:'icomoon' !important;
    font-weight: 700;
    padding-right: 8px;
    content: '\e908';
}
.navigation .prev:hover{
	background:none;
	color:#304a7b;
}
.fc-calendar-container {
	position: relative;
	height: 400px;
	width: 400px;
}

.fc-calendar {
	width: 100%;
	height: 100%;
}

.fc-calendar .fc-head {
	height: 30px;
	line-height: 30px;
	background: #ccc;
	color: #fff;
}

.fc-calendar .fc-body {
	position: relative;
	width: 100%;
	height: 100%;
	height: -moz-calc(100% - 30px);
	height: -webkit-calc(100% - 30px);
	height: calc(100% - 30px);
	border: 1px solid #ddd;
}

.fc-calendar .fc-row {
	width: 100%;
	border-bottom: 1px solid #ddd;
}

.fc-four-rows .fc-row  {
	height: 25%;
}

.fc-five-rows .fc-row  {
	height: 20%;
}

.fc-six-rows .fc-row {
	height: 16.66%;
	height: -moz-calc(100%/6);
	height: -webkit-calc(100%/6);
	height: calc(100%/6);
}

.fc-calendar .fc-row > div,
.fc-calendar .fc-head > div {
	float: left;
	height: 100%;
	width:  14.28%; /* 100% / 7 */
	width: -moz-calc(100%/7);
	width: -webkit-calc(100%/7);
	width: calc(100%/7);
	position: relative;
}

/* IE 9 is rounding up the calc it seems */
.ie9 .fc-calendar .fc-row > div,
.ie9 .fc-calendar .fc-head > div {
	width:  14.2%;
}

.fc-calendar .fc-row > div {
	border-right: 1px solid #ddd;
	padding: 4px;
	overflow: hidden;
	position: relative;
}

.fc-calendar .fc-head > div {
	text-align: center;
}

.fc-calendar .fc-row > div > a.fc-date {
	position: absolute;
	width: 30px;
	height: 20px;
	font-size: 20px;
	line-height: 20px;
	font-weight: 700;
	color: #ddd;
	text-shadow: 0 -1px 0 rgba(255,255,255,0.8);
	bottom: 5px;
	right: 5px;
	text-align: right;
}

.fc-calendar .fc-row > div > span.fc-weekday {
	padding-left: 5px;
	display: none;
}

.fc-calendar .fc-row > div.fc-today {
	background: #fff4c3;
}

.fc-calendar .fc-row > div.fc-out {
	opacity: 0.6;
}

.fc-calendar .fc-row > div:last-child,
.fc-calendar .fc-head > div:last-child {
	border-right: none;
}

.fc-calendar .fc-row:last-child {
	border-bottom: none;
}
/* Custom calendar elements */

.custom-calendar-wrap {
	position: relative;
	overflow: hidden;
}

.custom-inner {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.custom-inner:before,
.custom-inner:after  {
	content: '';
	width: 99%;
	height: 50%;
	position: absolute;
	background: #f6f6f6;
	bottom: -4px;
	left: 0.5%;
	z-index: -1;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.custom-inner:after {
	content: '';
	width: 98%;
	bottom: -7px;
	left: 1%;
	z-index: -2;
}

.custom-header {
	background: #fff;
	padding: 5px 10px 10px 20px;
	height: 70px;
	position: relative;
	border-top: 5px solid #000;
	border-bottom: 1px solid #ddd;
}

.custom-header h2,
.custom-header h3 {
	text-align: center;
	text-transform: uppercase;
}

.custom-header h2 {
	color: #495468;
	font-weight: 300;
	font-size: 18px;
	margin-top: 10px;
}

.custom-header h3 {
	font-size: 10px;
	font-weight: 700;
	color: #b7bbc2;
}

.custom-header nav span {
	position: absolute;
	top: 17px;
	width: 30px;
	height: 30px;
	color: transparent;
	cursor: pointer;
	margin: 0 1px;
	font-size: 20px;
	line-height: 30px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.custom-header nav span:first-child {
	left: 5px;
}

.custom-header nav span:last-child {
	right: 5px;
}

.custom-header nav span:before {
	color: #000;
	position: absolute;
	text-align: center;
	width: 100%;
}

.custom-header nav span.custom-prev:before {
	content: '\25c2';
}

.custom-header nav span.custom-next:before {
	content: '\25b8';
}

.custom-header nav span:hover:before {
	color: #495468;
}

.custom-content-reveal {
	background: #f6f6f6;
	background: rgba(246, 246, 246, 0.9);
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 100;
	top: 100%;
	left: 0px;
	text-align: center;
	-webkit-transition: all 0.6s ease-in-out;
	-moz-transition: all 0.6s ease-in-out;
	-o-transition: all 0.6s ease-in-out;
	-ms-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
}

.custom-content-reveal span.custom-content-close {
	position: absolute;
	top: 15px;
	right: 10px;
	width: 20px;
	height: 20px;
	text-align: center;
	background: #000;
	box-shadow: 0 1px 1px rgba(0,0,0,0.1);
	cursor: pointer;
	line-height: 13px;
	padding: 0;
}

.custom-content-reveal span.custom-content-close:after {
	content: 'x';
	font-size: 18px;
	color: #fff;
}

.custom-content-reveal a,
.custom-content-reveal span {
	font-size: 22px;
	padding: 10px 30px;
	display: block;
}

.custom-content-reveal h4 {
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 300;
	letter-spacing: 3px;
	color: #777;
	padding: 20px;
	background: #fff;
	border-bottom: 1px solid #ddd;
	border-top: 5px solid #000;
	box-shadow: 0 1px rgba(255,255,255,0.9);
	margin-bottom: 30px;
}

.custom-content-reveal span {
	color: #888;
}

.custom-content-reveal a {
	color: #000;
}

.custom-content-reveal a:hover {
	color: #333;
}

/* Modifications */

.fc-calendar-container {
	height: 400px;
	width: auto;
	padding: 30px;
	background: #f6f6f6;
	box-shadow: inset 0 1px rgba(255,255,255,0.8);
}

.fc-calendar .fc-head {
	background: transparent;
	color: #000;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 12px;
}

.fc-calendar .fc-row > div {
	background: #fff;
}

.fc-calendar .fc-row > div:empty {
	background: transparent;
}

.fc-calendar .fc-row > div > a.fc-date {
	top: 50%;
	left: 50%;
	text-align: center;
	margin: -10px 0 0 -15px;
	color: #686a6e;
	font-weight: 400;
	display:block;
	width:100%;
	height:100%;
	pointer-events:none;
	cursor:default;
}
body .fc-calendar-container .fc-calendar .fc-row > div{
	cursor:default;
}
.fc-calendar .fc-row > div > a.fc-date.fc-has-events{
	background:#d2d2d2;
	pointer-events:auto;
	cursor:pointer;
}
.fc-calendar .fc-row > div > a.fc-date.fc-has-events:hover, .fc-calendar .fc-row > div.fc-today > a.fc-date.fc-has-events{
	background:#0e2365 !important;
}
.fc-calendar .fc-row > div > a.fc-date span{
	display:inline-block;
	line-height:40px;
}
.fc-calendar .fc-row > div.fc-today {
	background: #000;
	color:#fff;
	box-shadow: inset 0 -1px 1px rgba(0,0,0,0.1);
}

.fc-calendar .fc-row > div.fc-today > a.fc-date {
	color: #fff;
	text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.fc-calendar .fc-row > div.fc-content:after {
	content: '\00B7';
	text-align: center;
	width: 20px;
	margin-left: -10px;
	position: absolute;
	color: #DDD;
	font-size: 70px;
	line-height: 20px;
	left: 50%;
	bottom: 3px;
}

.fc-calendar .fc-row > div.fc-today.fc-content:after {
	color: #b02c42;
}

.fc-calendar .fc-row > div.fc-content:hover:after{
	color: #000;
}

.fc-calendar .fc-row > div.fc-today.fc-content:hover:after{
	color: #fff;
}

.fc-calendar .fc-row > div > div a,
.fc-calendar .fc-row > div > div span {
	display: none;
	font-size: 22px;
}

@media screen and (max-width: 400px) {
	.fc-calendar-container {
		height: 300px;
	}
	.fc-calendar .fc-row > div > a.fc-date {
		font-size: 15px;
	}
}

body .memberpoint-wrapper, body .memberpoint-wrapper * {
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box;    /* Firefox, other Gecko */
box-sizing: border-box;         /* Opera/IE 8+ */
}
.memberpoint-wrapper #memberDetails p {margin-top: 0;}
body .memberpoint-wrapper h2 {margin-top: 0;}
.memberpoint-wrapper .sidebar-nav ul{margin:0;padding:0}
.memberpoint-wrapper .sidebar-nav ul li{list-style-type:none;margin: 0;}
.memberpoint-wrapper .sidebar-nav ul li a{border-bottom:1px solid #244b6c;padding:10px 10px;display:block;text-decoration: none;}
.memberpoint-wrapper .sidebar-nav ul li li>a{padding-left:30px; text-decoration: none;}
.memberpoint-wrapper .sidebar-nav ul li.current-menu-item>a,
.memberpoint-wrapper .sidebar-nav ul li.activeMenu>a{background-color:#244b6c;color:#FFF}
.memberpoint-wrapper .btn { min-width: 0; }

.memberpoint-wrapper #alertsWrapper {
    position: sticky;
    top: 110px;
    z-index: 10;
}
