/* 
/**
 * The MLR-Onfly header.
 *
 * Includes webfont license.
 *
 * @package ML-Onfly
 * @since ML-Onfly 1.0
 *
 * Theme Name: ML-Onfly
 * Author: Matthew Lillistone
 * Description: A stripped back theme for only required functionality
 * Version: 1.0.0
 * License URI: license.txt
 * Tags: bespoke
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfont(s).
 * 
* global */
body {font-family: helvetica, tahoma, calibri, sans-serif; margin: 0;font-size: 1em; line-height: 1.4;}
body.noscroll {overflow-y: hidden;}
div {box-sizing: border-box;}
h1#title {text-align: center; color: #351b3d;}
a {text-decoration:none; color: #555;}
a:hover {color: #5f62ff;}
ul {list-style: none;}
blockquote {border-left: 5px solid; padding-left: 10px; margin: 0;}
p {margin: 0 0 20px;}
input[type="button"], input[type="submit"], button {
	background-color: #4CAF50;
    color: white;
    padding: 7px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
input[type="button"].open {
    background-color: #636363;
}
input[type="button"].delete {
    background-color: #333;
}
input[type="button"][disabled].delete {
    background: #eee;
    cursor: default;
}
input[type="button"]#upload_image {
    background-color: #676767;
}
input[type="text"], input[type="password"], input[type="number"], input[type="email"], input[type="url"], input[type="tel"] {
	padding: 12px !important;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
    margin: 0;
	height: auto;
}

/* Front Forms */
form#loginform input:not([type=checkbox]) {
    width: 100%;
}
form#register_form input {
    width: 100%;
    margin: 5px 0;
}


/* header */
div#header_outer {width: 100%; background: #ffffffe8;    z-index: 99998;}
div#header_outer.fixed {position: fixed;}
a#logo_home {margin: 6px 0 0 10px; display: block;}
img#site-logo {width: 35px; display: inline-block; vertical-align: middle;}
span#site_title {display: inline-block; vertical-align: middle; padding: 5px 10px;}

div#change_lang {display: flex;font-size: 1.3em;}
div#change_lang > div {width: -webkit-fill-available;}

div#bis_top {text-align: right;}
div#bis_top > div {display: inline-block; vertical-align: top; position: relative;}
div#bis_top > div a {padding: 10px; display: block;}
div#bis_top > div span.login a.on {color: #6464ff;}

div#bis_login div#ml_loggedin_outer {display: none; position: absolute; border-top: 3px solid; top: 100%; right: 0; background: #fff; z-index: 100;}
div#bis_login div#ml_loggedin_outer.open {display: block;}
div#bis_login div#ml_loggedin_outer ul#logged_in_menu {margin: 0; padding: 0; width: 210px; box-shadow: 0px 5px 15px -9px #555;}
div#bis_login div#ml_loggedin_outer ul#logged_in_menu a {font-size: 0.9em; transition: all 0.3s;}
div#bis_login div#ml_loggedin_outer ul#logged_in_menu a.selected {color: #5f62ff; font-weight: bold;}

div#bis_login div#ml_login_outer {position: absolute; border-top: 3px solid; right: 0; top: 100%; background: #fff; z-index: 1000; width: 250px; padding: 10px; box-sizing: border-box; font-size: 0.9em; box-shadow: 0 5px 18px -7px #555; display: none;}
div#bis_login div#ml_login_outer.open, div#bis_reg div#ml_reg_outer.open {display:block;}
div#bis_login div#ml_login_outer p:not(.login-submit) {margin-bottom: 10px; text-align: left;font-size: 0.9em;}
div#bis_login div#ml_login_outer p.login-submit {margin: 0;}

div#bis_reg div#ml_reg_outer {position: absolute; border-top: 3px solid; right: 0; top: 100%; background: #fff; width: 340px; padding: 10px; box-sizing: border-box; font-size: 0.9em; box-shadow: 0 5px 18px -7px #555; display: none;}
div#bis_reg div#ml_reg_outer p {text-align: left;}
div#bis_reg div#ml_reg_outer h4.reg-title, div#bis_login div#ml_login_outer h4.login-title {text-align: left; margin: 0 0 20px;}
div#bis_reg p.small-text {font-size: 0.8em;}

div#bis_top span a:before {font-family: 'dashicons'; vertical-align: middle; margin-right: 8px; color: #351b3d;}
div#bis_top span.login a:before {content: "\f110";}
div#bis_top span.register a:before {content: "\f119";}
div#bis_top span.phone a:before {content: "\f525";}



/* Nav*/
div#navigation {margin: 0 0 30px;}
div#main-nav {text-align: center;}
div#main-nav ul#nav {margin: 0; padding: 0;}
div#main-nav ul#nav li {display: inline-block; padding: 5px 8px; font-size: 1em;}
div#main-nav ul#nav li.current_page_item a {color: #000; font-weight: bold;}


/* Wrapper */
div#container section.the-post {max-width: 800px; margin: 0 auto 50px; padding: 20px;}
div#container section.the-post.wide-boy h1#title {max-width: unset; margin: 0 0 20px; padding: 0 10px;}
div#container section.the-post.wide-boy {max-width: unset; margin: 0 auto 50px; padding: 20px;}


/* Footer */
div#footer {padding: 10px; background: #313131; color: #fff; text-shadow: 0px 1px 0px #000;}
div#footer a {color: #ddd;}


/* Conditionals */
.open {display:block;}


/* Custom Post */
div#options_container h1 {text-align: center;}


/* Registration Page */
form#register_form {
    display: block;
    width: 100%;
    box-sizing: border-box;
}
form#register_form > section {
    display: inline-block;
	vertical-align: top;
    width: 50%;
    box-sizing: border-box;
    padding: 10px;
}
form#register_form > section.right div.membership:not(.bespoke) {
    padding: 15px;
    background: #351b3d;
    color: #fff;
    border-radius: 5px;
	box-shadow: 0px 0px 21px -10px #212121 inset;
	text-shadow: 0px 1px 0px #000;
    cursor: pointer;
    transition: all 0.3s;
	margin-bottom: 15px;
	overflow: hidden;
	position: relative;
}
form#register_form > section.right div.membership.bespoke {
    padding: 15px;
    background: #313131;
    color: #fff;
    border-radius: 5px;
	box-shadow: 0px 0px 21px -10px #212121 inset;
	text-shadow: 0px 1px 0px #000;
    cursor: default;
    transition: all 0.3s;
	margin-bottom: 15px;
	overflow: hidden;
	position: relative;
}
form#register_form > section.right div.membership:not(.bespoke):hover, form#register_form > section.right div.membership.selected {
    background: #4CAF50;
}
form#register_form > section.right div.membership.selected:after {
    content: 'Selected';
    position: absolute;
    rotate: 40deg;
    top: 17px;
    right: -59px;
    background: red;
    padding: 8px 13px;
    width: 180px;
    text-align: center;
}
form#register_form > section.right div.membership h3 {
    margin: 0;
    font-size: 30px;
    text-align: center;
}
form#register_form > section.right div.membership h4 {
    text-align: center;
    margin: 0 0 20px;
}
form#register_form > section.right div.membership ul.waffle {
    margin: 0 0 20px;
    padding: 0;
    font-size: 0.9em;
}
form#register_form > section.right div.membership p.explanation {
    margin: 0;
    font-size: 13px;
}
form#register_form > section.right div.membership.bespoke a {
    color: #807cff;
}
form#register_form > section.right div.membership ul.waffle li {
    padding-left: 30px;
    position: relative;
}
form#register_form > section.right div.membership ul.waffle li:before {
    content: "\f147";
    font-family: 'dashicons';
    vertical-align: middle;
    font-size: 25px;
    width: 25px;
    height: 25px;
    position: absolute;
    left: 0;
    line-height: 1;
}
form#register_form p.small-text {
    font-size: 0.8em;
}


/* Upcoming Events/Profile */
div#onfly_all_events section.onfly-event-display .event-header img {
    max-width: 100%;
	cursor: pointer;
	box-shadow: 0px 1px 3px #555;
}
div#onfly_all_events h4.event-date {
    font-size: 1.4em;
    margin: 0;
    padding: 15px 20px;
    text-align: center;
    color: #555;
	box-sizing: border-box;
}
div#onfly_all_events h4.event-date.fixed {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    background: #ffffffed;
    z-index: 100;
}
div#onfly_all_events h4.event-date span {
    font-size: 14px;
    padding-left: 5px;
    vertical-align: top;
    color: #8f8f8f;
}
div#onfly_all_events .event-header {
    position: relative;
}
div#onfly_all_events .event-header span.event-owner {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffffffd6;
    padding: 4px 8px;
    border-radius: 4px;
    text-shadow: 0px 1px 0px #fff;
}
div#onfly_all_events section.onfly-event-display {
    margin-bottom: 50px;
}
section.onfly-event-display p.event-location:before {
    content: "\f230";
    font-family: 'dashicons';
    vertical-align: middle;
    font-size: 28px;
    color: blue;
	line-height: 1;
}
section.onfly-event-display p.event-name {
    font-weight: bold;
    font-size: 1.3em;
    margin: 0;
    padding: 5px;
	cursor: pointer;
}
section.onfly-event-display p.booking-opens, section.onfly-event-display p.booking-closes, section.onfly-event-display p.event-details {
    padding: 5px;
	margin: 0;
}
section.onfly-event-display p.booking-opens span {
    font-weight: bold;
    color: #4CAF50;
}
section.onfly-event-display p.booking-closes span {
    font-weight: bold;
    color: #d75858;
}
section.onfly-event-display p.booking-opens span:after, section.onfly-event-display p.booking-closes span:after, section.onfly-event-display p.event-details span:after {
    content: "\f344";
    font-family: 'dashicons';
    vertical-align: middle;
    margin: 0 5px;
	color: #555;
    font-weight: normal;
}
section.onfly-event-display p.event-details {
    font-size: 0.9em;
    padding: 3px 5px;
}
section.onfly-event-display p.event-details.event-starts {
    border-top: 1px dashed #bbb;
    padding-top: 10px;
    margin-top: 10px;
}
section.onfly-event-display p.event-details span {
    color: #676767;
}
section.onfly-event-display p.event-location {
    margin: 10px 0 13px;
}
section.onfly-event-display p.event-blurb {
    padding: 5px;
    margin: 0;
    font-size: 0.95em;
	font-style: italic;
}
section.onfly-event-display ul.event-location-links {
    margin: 0 0 15px;
    padding: 0;
}
section.onfly-event-display ul.event-location-links li {
    padding: 5px;
    display: inline-block;
    font-size: 0.95em;
}
section.onfly-event-display ul.event-location-links li a {
    padding: 5px 8px;
    border: 1px solid transparent;
    background: #eee;
    border-radius: 4px;
    box-shadow: 0px 2px 2px #777;
    text-shadow: 0px 1px 0px #fff;
	user-select: none;
	transition: all 0.3s;
}
section.onfly-event-display ul.event-location-links li a:hover {
    background: #f3f3f3;
}
section.onfly-event-display ul.event-location-links li a:active {
    box-shadow: 0px 1px 1px #666;
}
div#onfly_all_events img.user-logo, div#onfly_user_profile img.user-logo {
    margin: 0 auto 30px;
    display: block;
}
body.upcoming-events {
	overscroll-behavior: contain;
}

/** Profile Page **/
div#onfly_user_profile_inner section {
    margin: 0 0 20px;
}
div#onfly_user_profile_inner section .unit-details p:not(:last-child) {
    border-bottom: 1px dashed #bbb;
    padding: 5px 5px 10px;
    margin: 0 0 10px;
}
section#socials {
    text-align: center;
    background: #fff;
    border-top: 1px solid #ddd;
}
section#socials .socials span.dashicons {
    font-size: 35px;
    width: 35px;
    height: 35px;
    padding: 10px;
}
div#onfly_user_profile_inner section .unit-details p.dimensions i.bold {
    font-weight: bold;
}
div#onfly_user_profile_inner section:not(#promotional_images):not(#units) {
    padding: 5px;
}
div#onfly_user_profile_inner section#units h2, div#onfly_user_profile_inner section#units h4, div#onfly_user_profile_inner section#units p.description {
    padding: 5px;
}
div#onfly_user_profile_inner section#units h4.unit-details-title {
    font-size: 1.3em;
    margin: 0 0 15px;
}
div.unit-details p.socials-outer span.social-external span.dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    line-height: 1;
}
div#onfly_user_profile p {
    margin: 0;
}
div#onfly_user_profile_inner div#promotional_container {
    font-size: 0;
}
div#onfly_user_profile_inner .unit_image_container {
    margin: 0 0 25px;
	font-size: 0;
}
div#onfly_user_profile_inner .unit_image_container span.unit-image, div#onfly_user_profile_inner div#promotional_container span.promotional-image {
    display: inline-block;
    padding: 5px;
    width: 16.66%;
    box-sizing: border-box;
	transition: all 0.3s;
}
div#onfly_user_profile_inner .unit_image_container span.unit-image img.unit-img, div#onfly_user_profile_inner div#promotional_container span.promotional-image img.prom-img {
    width: 100%;
	height: auto;
    border-radius: 4px;
    cursor: pointer;
}
section#contact_details ul#contact_details_list, section.contact-details ul.contact_details_list {
    margin: 0;
    padding: 5px;
}
.onfly-user-profile h3 {
    margin: 0;
	text-align: center;
	background: #f1f1ff;
}
.onfly-user-profile h3 a {
    padding: 10px 20px;
	font-size: 1.4em;
	display: block;
	text-shadow: 0px 1px 0px #fff;
	color: #5f62ff;
}
section#contact_details ul#contact_details_list li, section.contact-details ul.contact_details_list li {
    padding: 5px 0;
}
section#contact_details ul#contact_details_list li span.dashicons, section.contact-details ul.contact_details_list li span.dashicons {
    margin-right: 12px;
}
section.blurb, section.contact-details {
    clear: both;
    padding: 10px 15px;
    border-top: 1px solid #ddd;
}
section.blurb {
    background: #fff;
	padding: 18px 21px;
    line-height: 1.6;
}
section.blurb p {
    margin: 0;
	font-size: 1.05em;
}
.onfly-user-profile img {
    max-width: 100%;
    height: auto;
}
section.promotional-images {
    font-size: 0;
	background: #fff;
	border-bottom: 1px solid #ddd;
}
.onfly-user-profile {
    margin-bottom: 50px;
    border: 1px solid #ddd;
}
.onfly-user-profile section.promotional-images span.promotional-featured-image {
	box-sizing: border-box;
    width: 100%;
    display: block;
	position: relative;
	border-bottom: 1px solid #ddd;
}
.onfly-user-profile section.promotional-images span.promotional-image {
    box-sizing: border-box;
    width: 14.28%;
    display: inline-block;
    padding: 5px;
	transition: all 0.3s;
}
.onfly-user-profile section.promotional-images span.promotional-image:hover {
    opacity: 0.8;
}
.onfly-user-profile section.promotional-images span.promotional-featured-image img.user-logo {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 15%;
    height: auto;
    opacity: 0.8;
}
div#onfly_user_profile_inner div#promotional_container span.promotional-featured-image, div#onfly_user_profile_inner .unit_image_container span.unit-featured-image {
    display: inline-block;
    padding: 5px;
    box-sizing: border-box;
}
div#onfly_user_profile_inner div#promotional_container span.promotional-featured-image img.featured-img, div#onfly_user_profile_inner .unit_image_container span.unit-featured-image img.featured-img {
    width: 100%;
    height: auto;
	border-radius: 5px;
}
div#onfly_user_profile_inner section#events div#events_inner {
    margin-bottom: 20px;
}
p.event-location-wthreew {
	display: block !important;
    margin-bottom: 10px !important;
}
p.event-location-wthreew:before {
    content: '///';
    color: red;
    font-size: 1.2em;
    font-weight: bold;
    padding: 5px;
    vertical-align: middle;
}
div#onfly_user_profile_inner section#events .event-details-box p.event-details.event-title {
    font-weight: bold;
}
div#onfly_user_profile_inner section#events .event-details-box p {
    margin: 0;
    display: inline-block;
}
div#onfly_user_profile_inner section#events .event-details-box p.event-title:after {
    content: "\f345";
    font-family: 'dashicons';
    padding: 0 5px;
    vertical-align: middle;
    font-size: 10px;
	color: #000;
}
div#onfly_user_profile_inner section#events div.event-details-box:not(:last-child) {
    padding: 0 0 10px;
    border-bottom: 1px dashed #bbb;
    margin-bottom: 15px;
}
div#onfly_user_profile_inner section#events .event-details-box span.find-out-more {
    font-size: 0.95em;
    font-weight: bold;
}
div#onfly_user_profile_inner section#events .event-details-box p.event-location {
    color: slategrey;
	display: block;
}
div#onfly_user_profile_inner section#events .event-details-box p.event-starts {
    font-size: 0.95em;
}
div#onfly_user_profile_inner section#events .event-details-box p.event-location:before {
    font-family: 'dashicons';
    content: "\f230";
    color: blue;
    font-size: 28px;
    vertical-align: middle;
}
div#onfly_user_profile_inner section#events p.all-upcoming-events a {
    font-weight: bold;
}
div#onfly_user_profile_inner section#events p.all-upcoming-events:after {
    content: "\f504";
    font-family: 'dashicons';
    font-weight: normal;
    font-size: 20px;
    vertical-align: super;
}

/* Breadcrumbs */
ul#breadbrumbs {
    margin: 0;
    padding: 0 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
    margin-bottom: 15px;
}
ul#breadbrumbs li {
    display: inline-block;
}
ul#breadbrumbs li:not(:first-child):before {
    content: "\00BB";
    font-family: 'dashicons';
	padding: 5px;
}
ul#breadbrumbs li a {
    vertical-align: middle;
	color: #fff;
	font-size: 0.8em;
}
ul#credits > li:last-child {
    padding-left: 4px;
}
ul#credits > li:last-child p {
    margin: 0;
	font-size: 0.8em;
}
ul#credits {
    margin: 0;
    padding: 10px;
}
ul#credits section#socials {
    background: none;
    text-align: left;
    padding: 0 0 15px;
    margin-bottom: 15px;
	border: none;
}
ul#credits section#socials a {
    color: #fff;
}

/* Menu Hidden */
a#ml_onfly_hidden_menu {
	display:inline-block;
	z-index: 100;
	cursor: pointer;
	vertical-align: middle;
    line-height: 1;
    background: #353535;
	color: #fff;
	transition: all 0.3s;
}
a#ml_onfly_hidden_menu.open {
	color: #a2a2f7;
}
section#onfly_page_tabs div#onfly_page_inner ul li a:hover {
    color: #a2a2f7;
}
a#ml_onfly_hidden_menu span.dashicons {
	font-size: 32px;
    width: 32px;
    height: 32px;
    margin: 10px;
    line-height: 1;
}
div#onfly_page_inner {
    width: 300px;
    height: 100%;
    background: #353535;
    position: fixed;
    display: none;
    left: 0;
    top: auto;
    z-index: 100;
	overflow-y: auto;
	overscroll-behavior: contain;	
}
div#onfly_page_inner.open {
	display: block;
}
section#onfly_page_tabs div#onfly_page_inner ul {
    margin: 0;
    padding: 0;
    font-size: 0;
}
section#onfly_page_tabs div#onfly_page_inner ul li:not(:last-child) {
    border-bottom: 1px dashed #bbb;
}
section#onfly_page_tabs div#onfly_page_inner ul li a {
    font-size: 15px;
    padding: 13px 16px;
    display: block;
	color: #fff;
	transition: all 0.3s;
}
section#onfly_page_tabs div#onfly_page_inner ul li.active a, section#onfly_page_tabs div#onfly_page_inner ul li.current-menu-item a {
    color: #a2a2f7;
    font-weight: bold;
}


/* Media Queries */
@media screen and (min-width:0px) and (max-width:700px) {
	div#bis_top > div a span {
		display: none;
	}
	table#user_account_details tr td:first-child {
		width: auto;
	}
	form#register_form > section {
		display: block;
		width: 100%;
		padding: 20px;
	}
	.onfly-user-profile section.promotional-images span.promotional-image {
		width: 20%;
	}
}
@media screen and (min-width:0px) and (max-width:600px) {
	div#onfly_user_profile_inner .unit_image_container span.unit-image, div#onfly_user_profile_inner div#promotional_container span.promotional-image {
		width: 25%;
	}
}
@media screen and (min-width:0px) and (max-width:500px) {
	span#site_title {
		display: none;
	}
}
@media screen and (min-width:0px) and (max-width:450px) {
	div#onfly_user_profile_inner .unit_image_container span.unit-image, div#onfly_user_profile_inner div#promotional_container span.promotional-image {
		width: 33.33%;
	}
}