/*
Theme Name: MMP	
Description: Based on Fraction by Orange Themes
Author: Natasha Dworkin Communications / Matterhorn Creative
Author URI: http://www.natashadworkin.com/
*/

/* MMP colors * /
Red: DA2D27
Blue: 127EA1

/** Wordpress default clases */

.post.sticky { background: #f8f8f8; padding: 0px 0px 16px 0px; }

.sticky .article-content { padding: 0px 16px; }

.article-block-small-image.sticky .article-header { padding: 8px 20px 0px 16px; }

.gallery-caption { color: #888; font-size: 12px; margin: 0 0 12px; }

.bypostauthor {}

.main-menu-wrapper ul ul li a i { font-style: normal!important; }

.alignright  {}

.alignleft  {}

.aligncenter   {}

.clearfix:after { 
   content: " ";
   display: block; 
   height: 0; 
   clear: both;
}
.calendar-scroll {
	color:#DA2D27;
	font-weight:bold;
	margin-bottom:10px;
	margin-top:-10px;
}
ul li a i { font-style: normal; }

.wp-caption-text {
  display: block;
}

.gallery-photo .loading {
	background: rgba(255,255,255,0.7) url(./images/loading.gif) no-repeat center center;
	line-height: 0px;
	min-height: 100px;
}

.waiter > img {
  position:relative;
}

.gallery-photo .loading img {
	opacity:0.6!important;
	filter:alpha(opacity=60)!important;
}

.gallery-photo .loading {
	display:inline-block;
	background:#fff url(./images/loading.gif) no-repeat center center;
	line-height:0px;
	min-height:400px;

}

.gallery-photo .loading img {
	opacity:0.6;
	filter:alpha(opacity=60);
}

/* isotope transition styles */

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
          transition-property:         transform, opacity;
}
  
#infscr-loading {
	background: -moz-linear-gradient(center top , #747D84 0%, #434F56 100%) repeat scroll 0 0 transparent;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	bottom: 0;
	font-size: 0.8em;
	font-style: normal;
	font-weight: normal;
	height: 50px;
	left: 50%;
	margin-left: -45px;
	padding-top: 20px;
	position: fixed;
	text-align: center;
	z-index: 1000;
	width: 90px;
	background-repeat:no-repeat;
	background-position: center center;
}
	
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.bypostauthor {}

img { height: auto !important; }

  #makeMeScrollable
  {
    position: relative;
  }
  
  #makeMeScrollable div.scrollableArea img
  {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
  }

.wpb_gallery.wpb_posts_slider.wpb_content_element p {
  height: 40px;
  overflow: hidden;
}

#popup {
  max-width: 90%;
}

#popup img {
  max-width: 100%;
}

/* MMP STYLES */

.main-title {
   padding: 0 18px;
}

ul.mmp-event-list {
   padding: 0;
}

ul.mmp-event-list li.mmp-event {
  list-style: none;
width: 32%;
display: inline-block;
margin-right: 2%;
margin-bottom: 2em;
font-size: 1em;
line-height: inherit;
margin-top: 0;
}
ul.mmp-event-list li.mmp-event:nth-child(3n) {
  margin-right: 0;
}
.mmp-event .event-photo-and-comments {
  position: relative;
  margin-bottom: 1em;
}
.mmp-event .event-thumbnail {
  border: 1px solid #999;
}
.mmp-event .event-thumbnail img {
  width: 100%;
}

.mmp-event .comment-count, .single-event .comment-count, .single-post .comment-count {
position: absolute;
padding: 2px 6px;
margin: 1em 0.5em;
color: #fff;
background: #DA2D27;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
display: inline-block;
bottom: 0;
right: 0;
z-index: 10;
}
.mmp-event .comment-count:before, .single-event .comment-count:before, .single-post .comment-count:before {
content: "";
position: absolute;
bottom: -8px;
right: 4px;
border: 0;
border-right-width: 8px;
border-bottom-width: 9px;
border-style: solid;
border-color: transparent #DA2D27;
display: block;
width: 0;
}
.mmp-event .comment-count a {
   color: #fff;
}
.mmp-event .comment-count a:hover {
   text-decoration: none;
}
/*.mmp-event .comment-count:after {
content: "";
position: absolute;
bottom: -20px;
left: 80px;
border: 0;
border-right-width: 10px;
border-bottom-width: 20px;
border-style: solid;
border-color: transparent #fff;
display: block;
width: 0;}*/

.mmp-event .event-location {
  background: #127EA0;
  color: #fff;
  display: inline-block;
  text-transform: uppercase;
  padding: 0.2em 0.5em;
  margin-bottom: 0.75em;
  margin-right: 0.25em;
}

.mmp-event .event-location a {
   color: #fff;
}

.mmp-event .event-location a:hover {
   text-decoration: none;
}

.mmp-event .event-cal-link {
  display: inline-block;
float: right;
margin: 0 0.5em;
vertical-align: sub;
}

.mmp-event .event-cal-link a {
color: #127EA0;
}

.mmp-event .event-city {
  color: #127EA0;
  display: inline-block;
  vertical-align: sub;
}
.mmp-event .event-address
{
  color: #127EA0;
  margin-bottom:.75em;
}
.mmp-event .event-group {
	font-weight:bold;
	margin-bottom:.75em;
}
.mmp-event .event-time {
  color: #DA2D27;
  margin-bottom: 0.75em;
}
.mmp-event .event-title {
  font-size: 133%;
font-weight: normal;
color: #000;
margin-bottom: 0.75em;
}
.mmp-event .event-excerpt {
  line-height: 175%
}
.mmp-event .event-read-more {}

.em-pagination {
   display: block;
text-align: center;
}

.em-pagination .page-numbers {
   color: #000;
border: 1px solid #000;
border-radius: 50%;
width: 2em;
height: 2em;
display: inline-block;
text-align: center;
line-height: 2em;
margin: 0.2em;
}

.em-pagination .page-numbers.current {
   background: #000;
   color: #fff;
}

.em-pagination a.next, .em-pagination a.prev {
   border: 0;
   width: auto;
}



.videoContainer {
      position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
    margin-bottom: 1em;
}

.videoContainer iframe {
   position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}
.single-event .addtoany_list, .single-post .addtoany_list {
  float: right;
  margin-bottom: 0.5em;
}
.single-event .event-meta {
  clear: right;
  padding-top: 1em;
}
.single-event .event-date {
  color: #DA2D27;
font-weight: bold;
margin-right: 1em;
display: inline-block;
}
.single-event .event-location {
  display: inline;
color: #000;
font-weight: bold;
padding-left: 1em;
border-left: 1px solid #000;
}
.single-event .event-location a {
  color: inherit;
  text-decoration: underline;
}
.single-event .comment-count, .single-post .comment-count {
  margin: 0;
  position: relative;
  font-size: 75%;
}
.single-event .post-meta {
  padding: 0.75em 0 2em;
  border-bottom: 1px solid #999;
  position: relative;
  margin-bottom: 2em;
}
.single-event .post-meta .event-address{
	color:#000;
	padding-left:1em;
}
.event-content {
  padding-bottom: 2em;
  border-bottom: 4px solid #DA2D27;
  margin-bottom: 2em;
  overflow: auto;
}
.event-description {
  width:70%;
  float: right;
}
.event-description p span, .event-sidebar p span {
  color: #DA2D27;
}
.event-description p a {
  color: #000;
  text-decoration: underline;
}
.event-sidebar {
  width: 25%;
  font-size: 80%;
}
.event-sidebar img {
  width: 100%;
  margin-bottom: 2em;
}
.event-sidebar p {
  margin-bottom: 0;
}
.category-next-event {
   clear: both;
   text-align: right;
}

.article-header .addtoany_list a {
   vertical-align: top;
}

.content-category a {
   color: #127EA1;
}
.content-category a:after {
   content: ', ';
}
.content-category a:last-child:after {
   content: '';
}
.postnav {
   margin-top: 2em;
   text-transform: uppercase;
   height: 2em;
}
.postnav a {
   color: inherit;
}
.postnav div {
   position: absolute;
}
.postnav .previous {
   right: 60%;
}
.postnav .next {
   left: 60%;
}
.em-search-form>span {
   color: #000;
text-transform: uppercase;
vertical-align: middle;
}
div.css-search {
   border: 0;
   padding: 0;
   min-height: inherit;
   margin-bottom: 2em;
}
div.em-search.css-search div {
   vertical-align: middle;
}
div.css-search.has-advanced div.em-search-main {
   padding:0;
   border: 0;
   vertical-align: middle;
}
div.em-search.css-search div {
   display: inline-block;
   padding: 0;
}
div.css-search div.em-search-text {
   background: none;
}
div.css-search input.em-search-text {
   width: 10em;
padding: 2px 0.5em;
   border: 1px solid #333;
  background-color: #ddd;
  background-image: -webkit-linear-gradient(top, #ffffff, #dddddd);
  background-image:         linear-gradient(to bottom, #ffffff, #dddddd);
  color: #000;
  font-size: 90%;
  vertical-align: middle;
}
div.css-search div.em-search-field {
padding: 0 0.8em 0 0.5em;
border-right: 1px solid #000;
}
div.css-search div.em-events-search-location select {
   width: 11em;
}
div.css-search div.em-search-town select {
   width: 5em;
}
div.css-search div.em-events-search-scope select {
   width: 6em;
}
div.css-search div.em-search-advanced label {
   display: none;
}
div.css-search select {
  /* border: 0;
   background: none;*/
   font-family: "Open Sans", sans-serif;
}
div.css-search div.em-search-main div {
   display: inherit;
   border: 0;
}
div.em-search-text label {
   font-weight: normal;
color: #000;
vertical-align: middle;
margin-right: 1em;
}
div.css-search div.em-search-main .em-search-submit {
   background: none;
   color: #000;
   border: 0;
   text-shadow: none;
   padding: 0;
   position: relative;
   vertical-align: text-top;
}
div.css-search div.em-search-main .em-search-submit:hover {
   background: none;
   cursor: pointer;
}
div.css-search div.em-search-main button.em-search-submit span {
   background: none;
}

.title-wrap {
   border-bottom: 1px solid #ddd;
   margin-bottom: 2em;
}
.single-location .title-wrap {
   padding-bottom: 2em;
}

.page-template-template-level-two-php .addtoany_list, .single-location .addtoany_list {
   position: absolute;
right: 0;
top: 5em;
}

.L2-menu {
 width: 20%;
float: left;  
}
.L2-menu ul {
   list-style: none;
padding: 0;
font-size: 16px;
text-transform: uppercase;
font-weight: bold;
}
.L2-menu li a {
   color: #000;
}
.L2-menu li.current-menu-item a {
   color: #DA2D27;
}
.L2-menu li a:hover {
   text-decoration: none;
}
.level-two-content {
   padding-left: 25%;
}
.post-header {
   margin-bottom: 25px;
padding-bottom: 25px;
border-bottom: 1px solid #dadada;
clear: none;
}
.article-list .item {
border-bottom: none;
clear: both;
overflow: auto;
}
.article-list .item .item-content h3 {
   font-size: 2em;
}
.article-list .item .wp-post-image {
   margin-top: 0;
padding-right: 2em;
margin-right: 0;
background: #fff;
}

#sidebar .widget .widget_wysija_cont {
	background: #127EA1;
color: #fff;
padding: 1.5em !important;
}

.widget_wysija_cont h3 {
   margin-bottom: 1em;
}

.widget_wysija_cont p.wysija-paragraph label {
   display: none;
}

.wysija-input {
   height: 3em;
margin-top: 1em;
float: left;
border: 0;
width: 45%;
padding: 0 5%;
}

.widget_wysija_cont .wysija-submit {
   height: 3em;
border: 0;
margin-top: 1em;
padding: 0 1em;
width: 45%;
color: #fff;
background: #0E6581;
text-transform: uppercase;
}

.wysija-paragraph {
   margin-bottom: 0;
}

.formError {
   position: relative !important;
   top: 0 !important;
   left: 0 !important;
}

.formError .formErrorContent {
   background: #0E6581;
}

.article-content ol li, .article-content ul li {
   font-size: 1.15em;
   line-height: 150%;
}
.article-content ul ul li {
   font-size: inherit;
}
.article-content ul ul {
margin-top: 0.5em;
}

.article-content ul.mmp-event-list li, {
   font-size: inherit;
   line-height: inherit;
}
.article-content ul.mmp-event-list p {
   font-size: inherit;
}
.article-content .L2-menu ul li {
   font-size: inherit;
   line-height: inherit;
}
.header .under-menu li a {
   padding: 1em 20px;
   line-height: 110%;
}
.supercarousel_wrapper {
   padding-bottom: 2em;
   background: #fff;
   z-index: 2;
}
.supercarousel .supercaption {
   text-transform: uppercase;
font-size: 1.6em;
padding: 1em 5%;
background: none;
text-align: left;
width: 90%;
line-height: 120%;
}
.supercarousel .supercaption a:hover {
   color: #fff;
   text-decoration: none;
}
.pagination .page-numbers.prev, .pagination .page-numbers.next {
   width: auto;
}
.breaking-news .breaking-block {
   margin-right: 2em;
}
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 textarea {
   width: 70%;
   border: 1px solid #aaa;
   padding: 0.4em;
}
.wpcf7 input[type=tel] {
   border: 1px solid #aaa;
   padding: 0.4em;   
}
span.wpcf7-list-item {
   display: block;
}
span.wpcf7-list-item label {
   font-weight: normal;
}
.single-location .location-label {
   text-transform: uppercase;
   color:#DA2D27;
   font-weight: bold;
   display: block;
}
span.location-label {
   margin-right: 0.5em;
}
.location-info {
   padding-bottom: 2em;
   border-bottom: 1px solid #999;
   margin-bottom: 2em;
   overflow: auto;
}
ul.em-locations-list {
   list-style: none;
   padding-left: 0;
}
#em-wrapper ul.em-locations-list li {
   margin-bottom: 2em;
   margin-top: 0;
}
.em-locations-list .location-title {
   color: #000;
   font-size: 1.1em;
}
.em-locations-list .location-links {
   font-size: 0.9em;
}
.page-id-525 .em-location-map-container {
   width: 100% !important;
   height: 400px !important;
   padding-bottom: 2em;
   z-index: 5;
   background: #fff !important;
}
.page-id-525 .breaking-wrapper {
   padding-bottom: 1em;
}
body, .article-content p {
   color: #4A4A4A;
}
.wpcf7 small {
   font-style: italic;
display: block;
line-height: 1.4em;
margin-top: 0.5em;
}

.bp-sidebar {
   margin-top:2em;
   clear: both;
}

.bp-sidebar .widget {
width: 36%;
border: 1px solid grey;
margin: 2%;
padding: 2%;
float: left;
background-color: #eee;
}

#buddypress div.item-list-tabs#object-nav {
width: 20%;
float: left;
}
#buddypress div.item-list-tabs {
   clear: none;
}
#buddypress div.item-list-tabs#object-nav ul li {
display: block;
width: 100%;
}
/*
 #buddypress #item-nav #user-activity:before {
    display: block;
    content: '\f021';
    font-family: "FontAwesome";
    padding-bottom: 7px;
    font-size: 20px;
}
 #buddypress #item-nav #user-xprofile:before {
    display: block;
    content: '\f007';
    font-family: "FontAwesome";
    padding-bottom: 7px;
    font-size: 20px;
}
#buddypress #item-nav #user-friends:before {
    display: block;
    content: '\f0c0';
    font-family: "FontAwesome";
    padding-bottom: 7px;
    font-size: 20px;
}
#buddypress #item-nav #user-groups:before {
    display: block;
    content: '\f115';
    font-family: "FontAwesome";
    padding-bottom: 7px;
    font-size: 20px;
}
#buddypress #item-nav #user-forums:before {
    display: block;
    content: '\f0e6';
    font-family: "FontAwesome";
    padding-bottom: 7px;
    font-size: 20px;
}
#buddypress #item-nav #user-notifications:before {
    display: block;
    content: '\f0a1';
    font-family: "FontAwesome";
    padding-bottom: 7px;
    font-size: 20px;
}
#buddypress #item-nav #user-messages:before {
    display: block;
    content: '\f075';
    font-family: "FontAwesome";
    padding-bottom: 7px;
    font-size: 20px;
}
#buddypress #item-nav #user-settings:before {
    display: block;
    content: '\f013';
    font-family: "FontAwesome";
    padding-bottom: 7px;
    font-size: 20px;
}
#buddypress #item-nav #user-invite-anyone:before {
    display: block;
    content: '\f003';
    font-family: "FontAwesome";
    padding-bottom: 7px;
    font-size: 20px;
}
#buddypress #item-nav #user-events:before {
    display: block;
    content: '\f073';
    font-family: "FontAwesome";
    padding-bottom: 7px;
    font-size: 20px;
}*/


#buddypress #item-body {
   padding-left: 23%;
}
#buddypress table.forum, #buddypress table.messages-notices, #buddypress table.notifications, #buddypress table.notifications-settings, #buddypress table.profile-fields, #buddypress table.profile-settings, #buddypress table.wp-profile-fields {
   width: auto;
}
div.css-search div.em-search-main button.em-search-submit span {
   color: #DA2D27;
}
div.css-search div.search-info {
   display: block;
   font-size: 0.8em;
   font-weight:bold;
   color:#da2d27;
   margin-top: 0.5em;
   
}
.bp-widget {
   margin-left: 2%;
}
.events-table tr.event td, #dbem-bookings-table tr td, .em-tickets-bookings-table tr td {
   padding: 0 1em 1em 0;
}
.events-table th, #dbem-bookings-table th, .em-tickets-bookings-table th {
   padding-bottom: 1em;
   padding-right: 1em;
   text-align: left;
}

#buddypress .clear, #buddypress table#message-threads, #buddypress .pagination, #buddypress ul.item-list, #buddypress #item-body>div, #em-bookings-table .table-wrap {
clear: none;
}
#buddypress #members-dir-list ul#members-list {
   clear: both;
}
#buddypress #item-body .item-list-tabs, #buddypress > .item-list-tabs, #buddypress > #item-nav {
   padding: 0;
}
#buddypress #item-header {
   margin-bottom: 1em;
}
#buddypress div.item-list-tabs ul li.selected a, #buddypress div.item-list-tabs ul li.current a {
   font-size: inherit;
}
.events-table .row-title {
   margin-bottom: 0.5em;
}
.css-events-admin .search-box {
   margin-top: 1em;
}
.location .main-title {
   margin-bottom: 1.5em;
}
.list-return {
   font-size: 0.85em;
}
.css-bookings-admin h2 a:nth-child(2), #wp-admin-bar-my-em-events-profile {
   display: none;
}
.css-bookings-admin .stuffbox {
   margin-bottom: 1em;
}
.css-bookings-admin table {
   margin: 1em 0;
}
#buddypress div#item-header div#item-meta, #buddypress div.pagination, #buddypress div.item-list-tabs ul li a span {
   color: #777;
}
.bbp-header .bbp-forum-title {
   color: #000;
}

#sidebar .wpt_widget_content .tab_title.selected a {
  background: #127Ea1 !important;
  border-bottom: 1px solid #127EA1 !important;
  color: #fff;
}

#sidebar .wpt_widget_content .tab_title a {
  display: block;
  background: #fff;
  border-left: none;
  border-bottom: 1px solid #127EA1;
  padding: 2px 0 4px;
  line-height: 2.4;
  text-decoration: none;
  position: relative;
  font-weight: bold;
}

#sidebar .wpt_widget_content {
	border: none;
}
.home .ot-slider .ot-slider-layer a:before {
	display:none;
}
/*carousel*/
@media only screen and (max-width: 1300px) {
	.owl-theme .owl-controls.clickable .owl-buttons div.owl-next {
		left:95%;
	}
	.owl-theme .owl-controls.clickable .owl-buttons div.owl-prev {
		right:95%;
	}
}	
@media only screen and (max-width: 970px) {
	.owl-theme .owl-controls.clickable .owl-buttons div.owl-prev, .owl-theme .owl-controls.clickable .owl-buttons div.owl-next {
		display:block !important;
	}
	.owl-theme .owl-controls.clickable .owl-buttons div.owl-next {
		left:93%;
	}
	.owl-theme .owl-controls.clickable .owl-buttons div.owl-prev {
		right:93%;
	}

}

