/*

Theme Name: Magic Millions

Theme URI: http://magicmillions.com.au/

Author: Italics Bold

Author URI: italiscbold.com.au

Description: Custom Theme for Magic Millions

Version: 1.0-wpcom

Text Domain: magic-millions

*/

/*--------------------------------------------------------------

>>> TABLE OF CONTENTS:

----------------------------------------------------------------

1.0 Reset

2.0 Typography

3.0 Elements

4.0 Forms

5.0 Navigation

	5.1 Links

	5.2 Menus

6.0 Accessibility

7.0 Alignments

8.0 Clearings

9.0 Widgets

10.0 Content

	10.1 Posts and pages

	10.2 Asides

	10.3 Comments

11.0 Infinite scroll

12.0 Media

	12.1 Captions

	12.2 Galleries

--------------------------------------------------------------*/

/*--------------------------------------------------------------

1.0 Reset

--------------------------------------------------------------*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  border: 0;

  font-family: inherit;

  font-size: 100%;

  font-style: inherit;

  font-weight: inherit;

  margin: 0;

  outline: 0;

  padding: 0;

  vertical-align: baseline;
}

html {
  font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */

  overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */

  -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */

  -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

*,
*:before,
*:after {
  /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */

  -webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */

  -moz-box-sizing: border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */

  box-sizing: border-box;
}

body {
  background: #fff; /* Fallback for when there is no custom background color defined. */
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

table {
  /* tables still need 'cellspacing="0"' in the markup */

  border-collapse: separate;

  border-spacing: 0;
}

caption,
th,
td {
  font-weight: normal;

  text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}

blockquote,
q {
  quotes: "" "";
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

a img {
  border: 0;
}

/*--------------------------------------------------------------

Elements

--------------------------------------------------------------*/

body,
button,
input,
select,
textarea {
  font-family: "Source Sans Pro", sans-serif;

  color: #333;

  font-size: 14px;

  font-size: 1.4rem;

  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .main-navigation ul ul ul {
    display: block;
  }

  .main-navigation ul ul ul li a {
    padding-left: 26px;
  }

  .main-navigation ul ul ul li a:before {
    content: "•";

    margin: 0 10px 0 0px;
  }

  .main-navigation ul.sub-menu li a:after {
    display: none;
  }

  body.disable-scrolling {
    height: 100%;

    overflow: hidden;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

h1 {
  font-size: 32px;

  color: #094fa3;

  font-family: "Prata", serif;

  margin-bottom: 15px;
}

h2 {
  font-size: 24px;

  color: #094fa3;

  font-family: "Prata", serif;

  margin-bottom: 10px;
}

h3 {
  font-size: 20px;

  color: #094fa3;

  font-family: "Prata", serif;

  margin-bottom: 5px;
}

h4 {
  font-size: 20px;

  color: #094fa3;

  font-weight: 700;

  margin-bottom: 5px;
}

h5 {
  font-size: 18px;

  color: #094fa3;

  font-weight: 700;

  margin-bottom: 5px;
}

h6 {
  font-size: 16px;

  color: #094fa3;

  font-weight: 700;

  margin-bottom: 5px;
}

p {
  margin-bottom: 20px;
}

b,
strong {
  font-weight: bold;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;

  font-family: "Courier 10 Pitch", Courier, monospace;

  font-size: 15px;

  font-size: 1.5rem;

  line-height: 1.6;

  margin-bottom: 1.6em;

  max-width: 100%;

  overflow: auto;

  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;

  cursor: help;
}

mark,
ins {
  background: #fff9c0;

  text-decoration: none;
}

sup,
sub {
  font-size: 75%;

  height: 0;

  line-height: 0;

  position: relative;

  vertical-align: baseline;
}

sup {
  bottom: 1ex;
}

sub {
  top: 0.5ex;
}

small {
  font-size: 75%;
}

big {
  font-size: 125%;
}

hr {
  background-color: #ccc;

  border: 0;

  height: 1px;

  margin: 20px 0;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;

  margin-left: 1.5em;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

img {
  height: auto; /* Make sure images are scaled correctly. */

  max-width: 100%; /* Adhere to container width. */
}

figure {
  margin: 0;
}

table {
  margin: 0;

  width: 100%;
}

th {
  font-weight: bold;
}

/*--------------------------------------------------------------

4.0 Forms & Buttons

--------------------------------------------------------------*/

button,
input,
select,
textarea {
  font-size: 100%; /* Corrects font size not being inherited in all browsers */

  margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */

  vertical-align: baseline; /* Improves appearance and consistency in all browsers */
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0; /* Addresses excess padding in IE8/9 */

  padding-top: 3px;

  margin-right: 10px;
}

/*input[type="search"] {

	-webkit-appearance: textfield;

	-webkit-box-sizing: content-box;

	-moz-box-sizing: content-box;

	box-sizing: content-box;

}*/

input[type="search"]::-webkit-search-decoration {
  /* Corrects inner padding displayed oddly in S5, Chrome on OSX */

  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */

  border: 0;

  padding: 0;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
}

/* Buttons */

ul.tribe-events-sub-nav a,
.tribe-events-button,
#tribe-events .tribe-events-button,
#tribe-bar-form .tribe-bar-submit input[type="submit"],
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  outline: none;

  text-align: center;

  display: inline-block;

  -webkit-border-radius: 2px;

  -moz-border-radius: 2px;

  border-radius: 2px;

  background: #094fa3;

  color: #fff;

  padding: 4px 8px;

  font-size: 14px;

  text-transform: uppercase;

  border: 2px solid #094fa3;

  box-shadow: inset 0 0 0 0 #fff;

  letter-spacing: 1px;

  line-height: 1.5;

  font-weight: 400;

  cursor: pointer;
}

.button.yellow-button,
button.yellow-button,
input[type="button"].yellow-button,
input[type="reset"].yellow-button,
input[type="submit"].yellow-button {
  background: #fdbe50;

  border: 2px solid #fdbe50;
}

.button.grey-button,
button.grey-button,
input[type="button"].grey-button,
input[type="reset"].grey-button,
input[type="submit"].grey-button {
  background: #999;

  border: 2px solid #999;

  padding: 4px 8px;

  font-size: 14px;
}

ul.tribe-events-sub-nav a,
.tribe-events-button.grey-button,
#tribe-events .tribe-events-button.grey-button,
#tribe-bar-form .tribe-bar-submit input[type="submit"].grey-button {
  background: #999;

  border: 2px solid #999;

  padding: 2px 6px;

  font-size: 12px;
}

.single-event-header-left .tribe-events-cal-links {
  display: none;
}

.tribe-events-button:hover,
#tribe-events .tribe-events-button:hover,
#tribe-bar-form .tribe-bar-submit input[type="submit"]:hover,
.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background: #fff;

  color: #094fa3;

  box-shadow: inset 0 100px 0 0 #fff;
}

.button.yellow-button:hover,
button.yellow-button:hover,
input[type="button"].yellow-button:hover,
input[type="reset"].yellow-button:hover,
input[type="submit"].yellow-button:hover {
  background: #fff;

  color: #fdbe50;

  box-shadow: inset 0 100px 0 0 #fff;
}

.button.grey-button:hover,
button.grey-button:hover,
input[type="button"].grey-button:hover,
input[type="reset"].grey-button:hover,
input[type="submit"].grey-button:hover,
ul.tribe-events-sub-nav a:hover,
.tribe-events-button.grey-button:hover,
#tribe-events .tribe-events-button.grey-button:hover,
#tribe-bar-form .tribe-bar-submit input[type="submit"].grey-button:hover {
  background: #fff;

  color: #999;

  box-shadow: inset 0 100px 0 0 #fff;
}

/* Inputs */

#tribe-bar-form input[type="text"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  border-top: 1px solid #ddd;

  border-right: 1px solid #ddd;

  border-bottom: 1px solid #ddd;

  border-left: 1px solid #ddd;

  border-radius: 2px;

  padding: 6px;

  box-shadow: inset 0 0 5px 0 #ddd;

  background: #fff;

  height: auto;

  font-weight: 400;

  font-size: 14px;
}

#tribe-bar-form input[type="text"] {
  width: 100%;
}

#tribe-bar-form input[type="text"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  outline: none;

  border-color: #ccc;

  box-shadow: inset 0 0 0 0 #ddd, 0 0 5px 0 #ddd;
}

textarea {
  overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */

  vertical-align: top; /* Improves readability and alignment in all browsers */

  width: 100%;
}

/*--------------------------------------------------------------

Links

--------------------------------------------------------------*/

a {
  color: #094fa3;

  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  color: #000;

  text-decoration: none;
}

/*--------------------------------------------------------------

Accessibility

--------------------------------------------------------------*/

/* Text meant only for screen readers */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);

  position: absolute !important;

  height: 1px;

  width: 1px;

  overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
  background-color: #f1f1f1;

  border-radius: 3px;

  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);

  clip: auto !important;

  color: #21759b;

  display: block;

  font-size: 14px;

  font-weight: bold;

  height: auto;

  left: 5px;

  line-height: normal;

  padding: 15px 23px 14px;

  text-decoration: none;

  top: 5px;

  width: auto;

  z-index: 100000; /* Above WP toolbar */
}

/*--------------------------------------------------------------

Alignments

--------------------------------------------------------------*/

.alignleft {
  display: inline;

  float: left;

  margin-right: 1.5em;
}

.alignright {
  display: inline;

  float: right;

  margin-left: 1.5em;
}

.aligncenter {
  clear: both;

  display: block;

  margin: 0 auto;
}

/*--------------------------------------------------------------

Clearings

--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: " ";

  display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

.clear,
.entry-content,
.comment-content,
.site-header,
.site-content,
.site-footer {
  *zoom: 1;
}

/*--------------------------------------------------------------

Infinite scroll

--------------------------------------------------------------*/

#infscr-loading {
  position: absolute;

  bottom: -30px;

  text-align: center;

  display: block;

  width: 100%;

  font-size: 30px;

  color: #094fa3;
}

#infscr-loading img {
  display: none;
}

/* Globally hidden elements when Infinite Scroll is supported and in use. */

.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */

.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */

  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */

.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------

Media

--------------------------------------------------------------*/

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
  border: none;

  margin-bottom: 0;

  margin-top: 0;

  padding: 0;
}

/* Make sure embeds and iframes fit their containers */

embed,
iframe,
object {
  max-width: 100%;
}

/*--------------------------------------------------------------

Captions

--------------------------------------------------------------*/

.wp-caption {
  margin-bottom: 1.5em;

  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;

  margin: 0 auto;
}

.wp-caption-text {
  text-align: center;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

/*--------------------------------------------------------------

Galleries

--------------------------------------------------------------*/

.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;

  text-align: center;

  vertical-align: top;

  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------

Asides

--------------------------------------------------------------*/

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
  display: none;
}

.widget-area .widget-title {
  text-transform: uppercase;

  font-weight: 700;

  font-size: 20px;

  margin-bottom: 5px;
}

.widget-area .widget {
  margin-bottom: 20px;
}

.widget-area .widget_calendar tfoot {
  font-size: 0;
}

.widget-area .widget_calendar caption {
  margin-bottom: 5px;

  font-weight: 700;
}

/*--------------------------------------------------------------

Transitions

--------------------------------------------------------------*/

a,
.transition,
input,
textarea,
.image-overlay img,
button {
  -webkit-transition: all 0.2s ease-in-out;

  -moz-transition: all 0.2s ease-in-out;

  -o-transition: all 0.2s ease-in-out;

  transition: all 0.2s ease-in-out;
}

/*--------------------------------------------------------------

Image Overlays

--------------------------------------------------------------*/

.image-overlay {
  overflow: hidden;

  position: relative;

  -webkit-backface-visibility: hidden;

  backface-visibility: hidden;
}

.image-overlay img {
  display: block;

  width: 100%;
}

.image-overlay:hover img {
  -webkit-transform: scale(1.2);

  -moz-transform: scale(1.2);

  -ms-transform: scale(1.2);

  -o-transform: scale(1.2);

  transform: scale(1.2);
}

.image-overlay-position {
  position: absolute;

  width: 100%;

  height: 100%;

  top: 0;

  left: 0;
}

.image-overlay-background,
.image-overlay-background-hover {
  display: table;

  width: 100%;

  height: 100%;
}

.image-overlay-background-hover {
  opacity: 0;

  filter: alpha(opacity=0);

  background: rgba(9, 79, 163, 0.6);
}

.image-overlay:hover .image-overlay-background {
  background: rgba(9, 79, 163, 0.6);
}

.image-overlay:hover .image-overlay-background-hover {
  opacity: 1;

  filter: alpha(opacity=100);
}

.image-overlay-text {
  display: table-cell;

  vertical-align: middle;

  text-align: center;

  font-size: 26px;

  font-weight: 400;

  color: #fff;

  font-family: "Prata", serif;
}

#instafeed .image-overlay-text {
  font-size: 50px;
}

.image-overlay.two-fifths,
.image-overlay.one-fifth {
  margin: 0 0.93%;
}

.image-overlay.one-fifth.one-half-900.first-image-tile,
.image-overlay.two-fifths.first-image-tile,
.image-overlay.one-fifth.first-image-tile {
  margin-top: 0;
}

@media screen and (max-width: 900px) {
  .image-overlay.two-fifths {
    width: 98.34%;

    margin-top: 10px;
  }

  .image-overlay.one-fifth {
    width: 31.666666666667%;

    margin-top: 15px;
  }

  .image-overlay.one-fifth.one-half-900 {
    width: 48.34%;
  }

  .image-overlay.two-fifths,
  .image-overlay.one-fifth {
    margin-left: 0.83%;

    margin-right: 0.83%;
  }
}

@media screen and (max-width: 500px) {
  .image-overlay.one-fifth.one-half-900,
  .image-overlay.two-fifths,
  .image-overlay.one-fifth {
    clear: none;

    float: none;

    width: 100%;

    margin: 0;

    margin-top: 15px;
  }

  .slide-down-sales {
    display: none !important;
  }
}

/*--------------------------------------------------------------

Isotope

--------------------------------------------------------------*/

.isotope-item {
  width: 31%;

  margin: 10px 1%;

  float: left;
}

.isotope-fourths .isotope-item {
  width: 23%;

  margin: 10px 1%;

  float: left;
}

.half-width-items .isotope-item {
  width: 48%;
}

.full-width-items .isotope-item {
  width: 98%;
}

/*--------------------------------------------------------------

Events Calendar

--------------------------------------------------------------*/

.event-category-carnivals.event-category-sales .tribe-events-schedule {
  display: none;
}

.sidebar_banner_image {
  margin-bottom: 20px;
}

.events-list .tribe-events-loop,
.tribe-events-day .tribe-events-loop,
.single-tribe_venue .tribe-events-loop,
.single-tribe_organizer .tribe-events-loop {
  max-width: 100%;
}

#tribe-events-content a,
.tribe-events-event-meta a {
}

/* Filter Bar */

#tribe-bar-form {
  background: none;
}

.tribe-bar-mini .tribe-bar-date-filter,
.tribe-bar-date-filter {
  padding: 0 15px;
}

.tribe-bar-mini .tribe-bar-search-filter,
.tribe-bar-search-filter {
  padding: 0 15px;
}

#tribe-bar-form #tribe-bar-views {
  margin-top: 8px;
}

.tribe-bar-views-inner {
  padding: 10px 0 30px 0;
}

#tribe-bar-views label {
  display: none;
}

#tribe-bar-views li.tribe-bar-views-option {
  display: inline-block !important;

  margin: 0 5px;
}

#tribe-bar-views .tribe-bar-views-list {
  text-align: right;
}

#tribe-bar-form #tribe-bar-views {
  left: 80%;

  width: 20%;
}

#tribe-bar-form #tribe-bar-views + .tribe-bar-filters {
  right: 20%;

  width: 80%;
}

.tribe-bar-views-inner {
  background: none;
}

#tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a {
  outline: none;

  text-align: center;

  display: inline-block;

  -webkit-border-radius: 2px;

  -moz-border-radius: 2px;

  border-radius: 2px;

  background: #094fa3;

  color: #fff;

  padding: 4px 8px;

  font-size: 14px;

  text-transform: uppercase;

  border: 2px solid #094fa3;

  box-shadow: inset 0 0 0 0 #fff;

  letter-spacing: 1px;

  line-height: 1.5;

  font-weight: 400;

  cursor: pointer;
}

#tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a i {
  color: #fff;
}

#tribe-bar-views
  .tribe-bar-views-list
  .tribe-bar-views-option.tribe-bar-active
  a,
#tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a:hover,
#tribe-bar-views
  .tribe-bar-views-list
  .tribe-bar-views-option.tribe-bar-active
  a:hover {
  background: #fff;

  color: #094fa3;

  box-shadow: inset 0 100px 0 0 #fff;
}

.tribe-select2-results-views span[class^="tribe-icon-"],
.tribe-bar-views-list span[class^="tribe-icon-"],
.tribe-bar-view-list a[class^="tribe-icon-"],
.tribe-select2-results-views .tribe-icon-month,
.tribe-bar-views-list span.tribe-icon-month,
.tribe-bar-view-list a.tribe-icon-month {
  background: none;
}

.tribe-select2-results-views span[class^="tribe-icon-"],
.tribe-bar-views-list span[class^="tribe-icon-"],
.tribe-bar-view-list a[class*="tribe-icon-"] {
  padding-left: 0;
}

/* Titles */

.tribe-events-list h2.tribe-events-page-title {
  color: #404040;

  font-weight: 200;
}

#tribe-events-content h2.tribe-events-page-title a {
  color: #094fa3;

  font-weight: 200;
}

#tribe-events-content h2.tribe-events-page-title a:hover {
  color: #000;
}

.tribe-events-list-separator-month {
  font-weight: 400;

  text-transform: uppercase;
}

.tribe-events-list-separator-month span {
  padding: 0 3%;

  background: none;
}

.tribe-events-list-separator-month:before {
  content: "";

  border-bottom: 1px solid #ccc;

  width: 40%;

  display: block;

  position: absolute;

  left: 0;

  top: 50%;

  height: 1px;
}

.tribe-events-list-separator-month:after {
  content: "";

  border-bottom: 1px solid #ccc;

  width: 40%;

  display: block;

  position: absolute;

  left: 60%;

  top: 50%;

  height: 1px;
}

.tribe-events-list .type-tribe_events.one-third {
  padding: 0;

  width: 31.666666666667%;

  margin-left: 2.5%;

  float: left;

  border: 1px solid #ddd;

  border-bottom: 3px solid #094fa3;

  -webkit-box-shadow: 0 0 6px 0 #ddd;

  box-shadow: 0 0 6px 0 #ddd;

  padding: 20px;

  margin-bottom: 20px;
}

.tribe-events-list .type-tribe_events.one-third.three-cols-first {
  margin-left: 0;

  clear: both;
}

.tribe-events-list .type-tribe_events h2 {
  display: block;

  font-size: 18px;

  padding: 20px 20px 0;
}

.tribe-events-loop .tribe-events-event-meta {
  display: block;

  font-size: 14px;

  margin: 10px 0 0;

  padding: 0 20px 20px;
}

.tribe-events-list .time-details {
  padding: 0;

  margin: 0 0 10px;
}

.tribe-bar-mini .tribe-bar-submit,
.tribe-bar-submit {
  margin: 0;

  padding: 0;

  margin-top: 17px;
}

#tribe-bar-form.tribe-bar-mini .tribe-bar-submit input[type="submit"],
#tribe-bar-form .tribe-bar-submit input[type="submit"] {
  padding: 6px 15px;

  width: auto;

  height: 38px;

  font-size: 14px;
}

.tribe-bar-mini .tribe-bar-search-filter,
.tribe-bar-search-filter {
  width: 25%;
}

.tribe-bar-collapse .tribe-bar-filters-inner > div,
.tribe-bar-collapse #tribe-bar-views {
  padding: 10px 0;
}

.tribe-events-notices {
  display: none;
}

.tribe-events-list .type-tribe_events.one-third {
  padding: 0;
}

@media screen and (max-width: 850px) {
  .tribe-events-list .type-tribe_events.one-third {
    width: 48.75%;
  }

  .tribe-events-list .type-tribe_events.one-third.three-cols-first {
    margin-left: 2.5%;

    clear: none;
  }

  .tribe-events-list .type-tribe_events.one-third.two-cols-first {
    margin-left: 0;

    clear: both;
  }
}

@media screen and (max-width: 768px) {
  .tribe-events-loop .tribe-events-event-meta {
    padding: 0;

    margin: 10px 0 0;

    background: none;

    border: none;
  }

  .tribe-events-list .time-details {
    padding: 0;

    margin-bottom: 10px;
  }

  #tribe-bar-collapse-toggle {
    background: #fff;
  }

  #tribe-bar-form #tribe-bar-views {
    margin-top: 0;
  }

  #tribe-bar-form.tribe-bar-collapse .tribe-bar-views-inner {
    padding: 10px 0 37px 0;
  }

  .tribe-events-sub-nav .tribe-events-nav-left a span,
  .tribe-events-sub-nav .tribe-events-nav-right a span {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .tribe-events-list .type-tribe_events.one-third,
  .tribe-events-list .type-tribe_events.one-third.three-cols-first,
  .tribe-events-list .type-tribe_events.one-third.two-cols-first {
    width: 100%;

    float: none;

    margin-left: 0;
  }
}

/*--------------------------------------------------------------

Single Events

-------------------------------------------------------------*/

#tribe-events-content {
  margin-bottom: 0;
}

.single-event-column-container {
  padding-top: 30px;
}

.tribe-events-meta-group .tribe-events-single-section-title {
  font-weight: 400;

  font-size: 20px;
}

.single-event-slider.flexslider {
  margin-bottom: 20px;
}

.single-tribe_events .tribe-events-content.three-fifths {
  width: 59%;
}

.tribe-events-single-event-sidebar {
  -webkit-box-sizing: border-box;

  -moz-box-sizing: border-box;

  box-sizing: border-box;

  border: 1px solid #ddd;

  border-bottom: 3px solid #094fa3;

  -webkit-box-shadow: 0 0 6px 0 #ddd;

  box-shadow: 0 0 5px 0 #eee;

  padding: 30px 30px 10px 30px;

  margin-bottom: 20px;
}

.tribe-events-single-event-sidebar > div {
  margin-bottom: 30px;
}

.tribe-events-single-event-sidebar .sales-event-featured-image {
  border: 0px solid #eee;

  box-shadow: 0 0 1px #eee;

  float: left;

  width: 30%;
}

.tribe-events-single-event-sidebar .catalog-pdfs-list {
  float: left;

  margin-left: 5%;

  width: 65%;
}

.tribe-events-single-event-sidebar > div.single-event-sidebar-title {
  text-transform: uppercase;

  font-weight: 700;

  font-size: 22px;

  margin-bottom: 10px;
}

.tribe-events-single-event-sidebar i {
  padding-right: 5px;
}

.tribe-events-single-event-sidebar .catalog-buttons a {
  width: 100%;

  display: block;
}

.tribe-events-single-event-sidebar .event-entry-form a {
  width: 100%;

  display: block;

  margin-bottom: 10px;
}

.tribe-events-single-event-sidebar .entry-form-image {
  float: left;

  width: 30%;

  margin-right: 5%;
}

.tribe-events-single-event-sidebar .entry-form-buttons {
  width: 65%;

  float: left;
}

.tribe-events-single-event-sidebar .live-broadcast a {
  width: 100%;

  display: block;
}

.single-event-pricing {
  padding-top: 5px;

  margin-top: 10px;

  border-top: 1px solid #eee;
}

.single-event-pricing:first-child {
  border-top: none;

  padding-top: 0;

  margin-top: 0;
}

.single-event-pricing-name {
  width: 100px;

  display: inline-block;

  vertical-align: middle;

  line-height: 1;
}

.single-event-pricing-price {
  display: inline-block;

  vertical-align: middle;

  font-size: 16px;

  font-weight: 700;

  color: #094fa3;

  line-height: 1;
}

.event-categories-output-fix {
  font-size: 0;
}

.tribe-event-categories {
  font-size: 16px;

  margin: 0 0 30px;
}

.tribe-events-schedule {
  border-bottom: 1px solid #e0e0e0;

  /* border-top: 1px solid #e0e0e0; */

  /* margin: 20px 0 0; */

  padding: 5px 0;
}

/*.tribe-events-event-meta.primary {

	display: none;

}*/

.live-broadcast {
  margin-bottom: 20px;
}

.entries-close-date {
  font-weight: 400;
}

.single-tribe_events .tribe-events-schedule h5 {
  font-weight: 400;

  color: #666;
}

.event-dates {
  float: left;
}

.single-tribe_events .tribe-events-cal-links {
  margin: 0 0 20px;
}

.single-tribe_events .carnivals-event .tribe-events-cal-links {
  float: right;

  margin: 16px 0;
}

a.tribe-events-ical,
a.tribe-events-gcal {
  margin: 0 5px 0 0;
}

.single-tribe_events .tribe-events-event-image {
  margin: 0;
}

.ticket-button {
  width: 100%;

  display: block;

  margin: 10px 0 0;
}

.single-event-header-left {
  display: inline-block;

  width: 80%;

  vertical-align: middle;

  margin-right: 5%;
}

.single-event-header-right {
  display: inline-block;

  width: 15%;

  text-align: center;

  vertical-align: bottom;

  background: #eee;

  padding: 30px 20px;
}

.single-event-header-right img {
  display: block;

  margin: 0 auto;
}

.single-tribe_events .selling-schedule {
  margin-bottom: 20px;
}

.single-tribe_events .selling-schedule .selling-schedule-date {
  font-weight: 700;
}

.sales-related-news .sales-related-news-item {
  border: 1px solid #ddd;

  border-bottom: 3px solid #094fa3;

  -webkit-box-shadow: 0 0 6px 0 #ddd;

  box-shadow: 0 0 6px 0 #ddd;

  padding: 0;
}

.sales-related-news .sales-related-news-item-content {
  padding: 10px;
}

.sales-related-news h3 {
  margin-bottom: 20px;
}

.sales-related-news .sales-related-news-title {
  font-size: 16px;

  margin-top: 14px;
}

#tribe-events .tribe-events-content .sales-related-news p {
  margin-bottom: 5px;
}

.tribe-events-event-meta .tribe-events-meta-group,
.tribe-events-event-meta .column {
  width: 64.66%;

  float: right;

  padding: 0 2%;
}

.single-tribe_events .tribe-events-meta-group-gmap {
  width: 33.33%;

  float: left;

  margin: 20px 0 2% 2%;
}

.event-your-stay-location {
  margin-top: 20px;
}

.detailed-statistics {
  float: right;
}

.ui-widget-content a.button {
  color: #fff;

  font-family: "Source Sans Pro", sans-serif;
}

.ui-widget-content a.button:hover {
  color: #094fa3;
}

#tribe-events-header .tribe-events-sub-nav {
  border-bottom: 1px solid #e5e5e5;

  padding-bottom: 2em;

  margin: -50px 0 1.25em;
}

#tribe-events-header .tribe-events-sub-nav li,
#tribe-events-header .tribe-events-sub-nav .tribe-events-nav-next a,
#tribe-events-header .tribe-events-sub-nav .tribe-events-nav-previous a {
  display: block;
}

@media screen and (max-width: 768px) {
  .single-event-column-container .two-fifths,
  .single-tribe_events .tribe-events-content.three-fifths {
    width: 100%;

    float: none;

    margin-left: 0;
  }

  .single-tribe_events .tribe-events-schedule {
    border: none;

    background: none;

    border-bottom: 1px solid #e0e0e0;

    border-top: 1px solid #e0e0e0;

    margin: 20px 0 30px;

    padding: 7px 0;
  }

  .event-dates {
    float: none;

    text-align: center;

    margin: 0;
  }

  .single-tribe_events .carnivals-event .tribe-events-cal-links {
    margin: 5px 0;

    float: none;

    text-align: center;
  }

  .single-tribe_events .tribe-events-cal-links a {
    margin: 0 10px 0 0;
  }

  .single-tribe_events .carnivals-event .tribe-events-cal-links a {
    margin: 0 5px;
  }

  .tribe-events-sub-nav li a {
    margin: 0;
  }

  .tribe-events-sub-nav .tribe-events-nav-previous {
    width: 48%;
  }

  .single-event-header-left {
    width: 100%;

    display: block;
  }

  .single-event-header-right {
    width: 100%;

    display: block;

    text-align: center;

    margin-bottom: 20px;
  }

  .tribe-events-event-meta .tribe-events-meta-group,
  .tribe-events-event-meta .column {
    width: 100%;

    float: none;

    padding: 0 2%;
  }

  .single-tribe_events .tribe-events-venue-map {
    width: 100%;

    float: none;

    margin: 0;

    padding: 10px;

    background: none;

    border: none;
  }

  .single-event-venue-details {
    margin-bottom: 10px;
  }

  .event-your-stay-location {
    margin-top: 0;

    margin-bottom: 10px;
  }

  #tribe-events-header .tribe-events-sub-nav {
    margin-top: 0;
  }

  #tribe-events-header:after,
  #tribe-events-header:before {
    display: none;
  }

  #tribe-events-header .tribe-events-sub-nav .tribe-events-nav-next,
  #tribe-events-header .tribe-events-sub-nav .tribe-events-nav-previous {
    width: 48%;
  }
}

@media screen and (max-width: 500px) {
  .event-entry-form.one-half,
  .catalog-buttons.one-half {
    margin-top: 10px;
  }

  .event-entry-form.one-half.first,
  .catalog-buttons.one-half.first {
    margin-top: 0;
  }

  .tribe-events-sub-nav li a {
    display: block;

    width: 100%;
  }

  .tribe-events-single-event-sidebar .sales-event-featured-image,
  .tribe-events-single-event-sidebar .catalog-pdfs-list {
    float: none;

    width: 100%;

    margin-left: 0;
  }

  .tribe-events-single-event-sidebar .catalog-pdfs-list {
    margin-top: 10px;
  }

  .tribe-events-single-event-sidebar .entry-form-image {
    float: none;

    width: 100%;

    margin-right: 0;

    margin-bottom: 10px;
  }

  .tribe-events-single-event-sidebar .entry-form-buttons {
    width: 100%;

    float: none;
  }

  .sales-related-news .sales-related-news-item {
    margin-bottom: 20px;
  }
}

/*--------------------------------------------------------------

Containers

--------------------------------------------------------------*/

.site-header,
.site-content,
.site-footer,
.slide-down-content,
.footer-tiles-content {
  max-width: 1240px;

  width: 100%;

  padding: 0 20px;

  margin: 0 auto;
}

/*--------------------------------------------------------------

Header

--------------------------------------------------------------*/

.site-header {
  padding-top: 20px;

  padding-bottom: 20px;
}

.site-title {
  float: left;

  margin: 0;

  margin-right: 20px;
}

.site-title img {
  display: block;
}

/* Main Navigation */

.main-navigation {
  float: left;

  margin-top: 13px;
}

.main-navigation ul {
  list-style: none;

  margin: 0;

  padding-left: 0;
}

.main-navigation li {
  display: inline-block;

  position: relative;
}

.main-navigation li a {
  display: block;

  text-decoration: none;

  font-size: 16px;

  color: #094fa3;

  padding: 20px 8px;

  text-transform: uppercase;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation li:hover > a {
  color: #000;
}

.main-navigation ul ul {
  position: absolute;

  width: 200px;

  top: 60px;

  left: 50%;

  z-index: 99999;

  background: #fff;

  width: 200px;

  margin-left: -100px;

  border: 1px solid #eee;

  visibility: hidden;

  opacity: 0;

  filter: alpha(opacity=0);

  -webkit-transition: all 0.2s ease-in-out;

  -moz-transition: all 0.2s ease-in-out;

  -o-transition: all 0.2s ease-in-out;

  transition: all 0.2s ease-in-out;
}

.main-navigation ul ul:before {
  width: 0;

  height: 0;

  border-left: 10px solid transparent;

  border-right: 10px solid transparent;

  border-bottom: 10px solid #eee;

  position: absolute;

  content: "";

  top: -11px;

  left: 50%;

  margin-left: -10px;

  display: block;
}

.main-navigation ul ul ul:before {
  display: none;
}

.main-navigation ul li:hover > ul {
  visibility: visible;

  opacity: 1;

  filter: alpha(opacity=100);
}

.main-navigation ul ul ul {
  right: 0;

  top: -1px;

  left: 198px;

  margin: 0;

  border-left: none;
}

.main-navigation ul ul a {
  padding: 5px 10px;

  font-size: 14px;

  color: #555;
}

.main-navigation ul ul li.menu-item-has-children > a:after {
  content: "\f105";

  font-family: "FontAwesome";

  position: absolute;

  right: 10px;

  top: 5px;
}

.main-navigation ul ul .current_page_item > a,
.main-navigation ul ul .current-menu-item > a,
.main-navigation ul ul a:hover {
  color: #094fa3;
}

.main-navigation ul ul li {
  display: block;
}

.main-navigation ul ul li:hover > ul {
}

.mobile-menu-bar {
  display: none;

  z-index: 2001;

  width: 100%;

  height: 40px;

  background: #eee;

  border-bottom: 1px solid #ddd;
}

.menu-toggle {
  font-size: 20px;

  color: #000;

  padding: 5px 20px;

  float: left;
}

.menu-text {
  text-transform: uppercase;

  padding-left: 5px;
}

.menu-toggle:hover {
  color: #094fa3;
}

.menu-toggle i {
  position: relative;

  top: 1px;
}

.mobile-search-toggle {
  float: right;

  font-size: 20px;

  color: #000;

  padding: 5px 20px;
}

.mobile-search-toggle:hover {
  color: #094fa3;
}

.mobile-search-toggle .search-text {
  text-transform: uppercase;

  padding-left: 0px;
}

.mobile-search-bar {
  display: none;

  background: #fff;

  border-bottom: 1px solid #ddd;

  text-align: center;

  padding: 10px 20px;
}

/* Right Header */

.header-right {
  float: right;

  margin-top: 31px;

  margin-left: 5px;
}

.header-right a {
  color: #999;

  padding: 2px;

  font-size: 20px;
}

.header-right a.search-icon {
  color: #555;
}

.header-right a:hover {
  color: #094fa3;
}

@media screen and (max-width: 1042px) {
  .main-navigation {
    margin-top: 0;

    clear: right;

    float: right;
  }

  .main-navigation li a {
    padding-top: 10px;
  }

  .header-right {
    margin-top: 0;
  }

  .header-right a {
    padding: 2px 5px;
  }
}

@media screen and (max-width: 873px) {
  .site-title {
    float: none;

    text-align: center;

    margin: 0;

    height: 92px;
  }

  .site-title img {
    display: inline;
  }

  .main-navigation {
    float: none;

    text-align: center;

    margin-top: 10px;
  }

  .header-right {
    float: none;

    text-align: center;

    margin-bottom: 10px;
  }
}

@media screen and (max-width: 768px) {
  .site-header {
    margin-top: 40px;
  }

  .main-navigation {
    position: fixed;

    margin: 0;

    top: 0;

    left: 0;

    text-align: left;

    z-index: 2000;

    width: 100%;
  }

  .main-navigation.enable-scrolling {
    overflow-y: scroll;

    height: 100%;
  }

  .mobile-menu-bar {
    display: block;
  }

  #menu-main {
    display: none;

    width: 100%;

    background: #fff;

    z-index: 2002;
  }

  .main-navigation li {
    display: block;
  }

  .main-navigation li a {
    padding: 10px;

    border-bottom: 1px solid #ddd;

    color: #000;

    white-space: nowrap;
  }

  .menu-item-has-children > a:after {
    font-family: FontAwesome;

    content: "\f107";

    position: absolute;

    right: 20px;

    font-size: 30px;

    line-height: 26px;
  }

  .mobile-active-sub-menu.menu-item-has-children > a:after {
    content: "\f106";
  }

  .main-navigation ul ul {
    position: static;

    visibility: visible;

    border: 0;

    margin: 0;

    width: 100%;

    left: 0;

    top: 0;

    padding: 0;

    opacity: 1;

    filter: alpha(opacity=100);

    display: none;
  }

  .main-navigation ul ul:before {
    display: none;
  }

  .main-navigation ul ul a {
    color: #000;

    border-bottom: 1px solid #ddd;

    padding: 10px 10px 10px 25px;
  }

  .main-navigation .current_page_item > a,
  .main-navigation .current-menu-item > a,
  .main-navigation li:hover > a,
  .main-navigation ul ul .current_page_item a,
  .main-navigation ul ul .current-menu-item a,
  .main-navigation ul ul a:hover {
    color: #000;

    background: #eee;
  }

  .header-right {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  /* override jquery animation styles */

  #menu-main {
    display: block !important;
  }

  .mobile-search-bar {
    display: none !important;
  }
}

/*--------------------------------------------------------------

Navigation Slide Down

--------------------------------------------------------------*/

.slide-down-button-container {
  position: relative;
}

.slide-down-container {
  display: none;

  background: #fafafa;

  border-top: 1px solid #eee;

  border-bottom: 1px solid #eee;
}

.slide-down-content {
  margin-top: 20px;

  margin-bottom: 20px;

  font-size: 12px;
}

.slide-down-content > div {
  padding: 10px 0;
}

.slide-down-close-button {
  position: absolute;

  left: 50%;

  margin-left: -13px;

  top: -15px;

  color: #999;

  font-size: 20px;

  z-index: 500;

  display: none;
}

.slide-down-close-button a {
  display: block;

  color: #999;
}

.slide-down-close-button a:hover {
  color: #094fa2;
}

.slide-down-close-button a i {
  padding: 3px;
}

.slide-down-search {
  text-align: center;
}

.slide-down-search input[type="search"] {
  width: 300px;
}

.slide-down-title {
  color: #555;

  font-size: 18px;

  font-weight: 300;

  text-transform: uppercase;

  margin-bottom: 10px;
}

.slide-down-content ul {
  margin: 0;

  list-style-type: none;
}

.slide-down-content li {
  padding: 10px 0;
}

.slide-down-content span {
  color: #777;

  font-weight: 300;

  display: block;
}

.slide-down-see-more {
  margin-top: 10px;

  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .slide-down-search input[type="search"] {
    width: auto;
  }
}

/*--------------------------------------------------------------

Slider

--------------------------------------------------------------*/

.tp-bullets.simplebullets.square-old .bullet {
  background-image: url("images/slider-nav.png");
}

/*--------------------------------------------------------------

Content

--------------------------------------------------------------*/

.site-content-background-container {
  background: #fff;

  background: -moz-linear-gradient(top, #eeeeee 0%, #ffffff 20%, #ffffff 100%);

  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #eeeeee),
    color-stop(20%, #ffffff),
    color-stop(100%, #ffffff)
  );

  background: -webkit-linear-gradient(
    top,
    #eeeeee 0%,
    #ffffff 20%,
    #ffffff 100%
  );

  background: -o-linear-gradient(top, #eeeeee 0%, #ffffff 20%, #ffffff 100%);

  background: -ms-linear-gradient(top, #eeeeee 0%, #ffffff 20%, #ffffff 100%);

  background: linear-gradient(to bottom, #eeeeee 0%, #ffffff 20%, #ffffff 100%);

  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=0 );
}

.site-content .content-area {
  padding: 40px 0;
}

/* Default (Sidebar) Layout */

.page-template-default .site-content-container {
  background-image: url("images/sidebar-background.png");

  background-position: center;

  background-repeat: repeat-y;

  border-bottom: 3px solid #eee;
}

.page-template-default .site-content {
  display: table;
}

.page-template-default .site-content .content-area {
  display: table-cell;

  vertical-align: top;

  width: 75%;

  padding: 40px 10% 40px 0;

  background: #fff;

  background: -moz-linear-gradient(top, #eeeeee 0%, #ffffff 20%, #ffffff 100%);

  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #eeeeee),
    color-stop(20%, #ffffff),
    color-stop(100%, #ffffff)
  );

  background: -webkit-linear-gradient(
    top,
    #eeeeee 0%,
    #ffffff 20%,
    #ffffff 100%
  );

  background: -o-linear-gradient(top, #eeeeee 0%, #ffffff 20%, #ffffff 100%);

  background: -ms-linear-gradient(top, #eeeeee 0%, #ffffff 20%, #ffffff 100%);

  background: linear-gradient(to bottom, #eeeeee 0%, #ffffff 20%, #ffffff 100%);

  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=0 );
}

.page-template-default .site-content .widget-area {
  display: table-cell;

  vertical-align: top;

  background: #eee;

  width: 25%;

  padding: 40px 0 40px 40px;
}

.page-heading {
  border-bottom: 5px solid #eee;

  margin: 0 0 40px;
}

.page-heading h1 {
  border-bottom: 5px solid #fdbe50;

  display: inline-block;

  position: relative;

  top: 5px;

  padding-bottom: 10px;

  margin: 0;
}

.type-post .page-heading h1 {
  top: 15px;
}

#comments {
  display: none !important;
}

.entry-meta {
  margin-bottom: 10px;
}

.category-international p,
.category-australia p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------

Sidebar

--------------------------------------------------------------*/

.widget-area .widget ul,
.widget-area .widget ul,
.widget-area .widget ul {
  margin: 0;

  list-style-type: none;
}

.widget-area .widget li {
  margin-bottom: 3px;
}

.widget-area .widget_accordion_archive .archive-accordion-year {
  display: block;

  margin: 0 0 10px;
}

.widget-area .widget_accordion_archive .archive-accordion-year > a {
  padding: 0 10px;

  border-left: 3px solid #094fa3;
}

.widget-area .widget_accordion_archive .archive-accordion-year > ul {
  padding-left: 13px;
}

/*--------------------------------------------------------------

Footer

--------------------------------------------------------------*/

.footer-tiles-container {
  margin: 40px 0;
}

.footer-tiles-content {
}

.site-footer-container {
  background: #eee;
}

.site-footer {
  font-size: 14px;

  color: #777;
}

.site-footer a {
  color: #444;
}

.site-footer a:hover {
  color: #999;
}

.footer-sponsors {
  text-align: center;

  padding: 30px 0;

  border-bottom: 1px solid #ddd;
}

.footer-sponsors > div {
  display: inline-block;

  vertical-align: middle;

  padding: 5px 20px;
}

.footer-contact-information {
  padding: 40px 0;

  text-align: center;

  border-bottom: 1px solid #ddd;
}

.site-info {
  padding: 30px 0;
}

.site-info-left {
  float: left;

  text-align: left;
}

.site-info-right {
  float: right;

  text-align: right;
}

.previous-sale-statistics-0,
.previous-sale-statistics-1,
.previous-sale-statistics-2,
.previous-sale-statistics-3,
.previous-sale-statistics-4,
.previous-sale-statistics-5,
.previous-sale-statistics-6 {
  margin-right: 20px;
}

@media screen and (max-width: 768px) {
  .site-info-left {
    display: block;

    float: none;

    text-align: center;
  }

  .site-info-right {
    display: block;

    float: none;

    text-align: center;

    margin-bottom: 10px;
  }
}

/*--------------------------------------------------------------

Blog

--------------------------------------------------------------*/

.navigation.paging-navigation {
  display: none;
}

.blog-filter-container {
  background: #094fa3;

  text-align: center;

  padding: 10px;
}

#sticky {
  z-index: 1;

  width: 100%;

  top: 0;

  left: 0;
}

.tax-sa_tax_sources #isotope-container,
.blog #isotope-container {
  margin-top: 20px;
}

.blog-filter-container.fixed {
  margin-bottom: 0;

  position: fixed;

  width: 100%;

  top: 0;

  left: 0;

  z-index: 1;
}

.blog-filter-container label {
  margin: 0 10px;

  padding: 10px 15px;

  font-size: 18px;

  color: #fff;

  transition: all 0.2s ease;

  cursor: pointer;
}

.blog-filter-container label:hover {
  color: #ddd;
}

.blog-filter-container input,
.blog-filter-container i,
.blog-filter-container span {
  padding-right: 10px;

  display: inline-block;

  vertical-align: middle;
}

.blog-filter-container .container {
  max-width: 1200px;

  margin: 0 auto;
}

.blog-filter-container .left {
  float: left;

  text-align: left;
}

.blog-filter-container .right {
  float: right;

  text-align: right;
}

#isotope-container .post {
  border: 1px solid #ddd;

  border-bottom: 3px solid #094fa3;

  -webkit-box-shadow: 0 0 6px 0 #ddd;

  box-shadow: 0 0 6px 0 #ddd;

  padding: 0;

  margin-bottom: 20px;
}

#isotope-container .post .post-thumbnail {
  display: block;
}

#isotope-container .post .wp-post-image {
}

#isotope-container .post .entry-header {
  padding: 20px 20px 0 20px;
}

#isotope-container .post .entry-header .entry-title a {
}

#isotope-container .post .entry-header .entry-title a:hover {
}

#isotope-container .post .entry-content {
  padding: 20px;
}

#isotope-container .post a.post-read-more {
}

#isotope-container .post a.post-read-more:hover {
}

.paging-navigation .nav-links > div {
  display: inline-block;
}

#isotope-container .news-social-icon {
  float: right;

  font-size: 26px;

  color: #094fa3;

  padding: 0 5px 0 0;
}

.tax-sa_tax_sources .nav-links,
.blog .nav-links {
  display: none;
}

.single-news-image {
  margin-bottom: 20px;

  max-width: 780px;
}

.single-news-header {
  margin-bottom: 20px;
}

/*.single-news-header h1 {

	margin-bottom: 10px;

}*/

/*--------------------------------------------------------------

Directory

--------------------------------------------------------------*/

.directory-locations {
  margin-bottom: 30px;
}

.directory-none {
  margin-bottom: 20px;
}

/* your stay page */

.directory-locations .directory-location {
  border: 1px solid #ddd;

  border-bottom: 3px solid #094fa3;

  -webkit-box-shadow: 0 0 6px 0 #ddd;

  box-shadow: 0 0 6px 0 #ddd;

  padding: 0;
}

.directory-page-header.page-heading {
  margin: 0 0 20px 0;
}

.directory-category-button.button {
  background: #999;

  border: 2px solid #999;

  margin: 5px 15px 5px 0;
}

.directory-category-button.button:hover {
  color: #999;
}

.directory-category-button.button.active-type {
  border: 2px solid #094fa3;

  background: #094fa3;
}

.directory-category-button.button.active-type:hover {
  color: #094fa3;
}

.directory-locations .directory-location .entry-header {
  padding: 20px 20px 0 20px;
}

.directory-locations .directory-location .entry-content {
  padding: 10px 20px 20px;
}

.back-to-locations {
  display: inline-block;

  margin: 15px 0 0 50px;
}

/* directory title */

.directory-page-header h1 {
  float: left;

  clear: none;
}

.directory-page-header .toggle-directory-map {
  float: right;

  margin-top: 15px;

  text-transform: uppercase;
}

/* directory map */

.directory-map-container {
  /*	position: absolute;

	left: -5000px;

	width: 1200px;*/

  display: none;
}

.directory-map-container.visible {
  /*	position: static;*/

  display: block;
}

#directory-map {
  height: 500px;

  width: 100%;

  margin-bottom: 30px;
}

/* directory controls */

#directory-controls {
  margin-bottom: 20px;

  padding: 10px;
}

.directory-search {
  float: left;
}

#directory-location-search {
  height: 30px;

  padding: 0 5px;

  line-height: 1.5;

  display: inline-block;

  vertical-align: middle;
}

#directory-location-search-submit {
  height: 28px;

  display: inline-block;

  vertical-align: middle;

  padding: 0 10px;

  line-height: 1.8;
}

#directory-location-search-clear {
  height: 28px;

  display: inline-block;

  vertical-align: middle;

  padding: 0 10px;

  line-height: 1.8;
}

.directory-types {
  float: right;
}

#directory-locations-select {
  height: 30px;

  -webkit-appearance: menulist-button;

  margin-right: 5px;
}

#directory-types-select {
  height: 30px;

  -webkit-appearance: menulist-button;
}

/* directory listing */

.directory-loading {
  text-align: center;

  display: block;

  width: 100%;

  font-size: 30px;

  color: #094fa3;
}

#isotope-container .directory {
  border: 1px solid #ddd;

  border-bottom: 3px solid #094fa3;

  -webkit-box-shadow: 0 0 6px 0 #ddd;

  box-shadow: 0 0 6px 0 #ddd;

  padding: 0;

  margin-bottom: 20px;

  display: none; /* display none by default */
}

#isotope-container .directory.accommodation-directory-type {
  border-bottom: 3px solid #6a549c;
}

#isotope-container .directory.entertainment-directory-type {
  border-bottom: 3px solid #ff8000;
}

#isotope-container .directory.eateries-directory-type {
  border-bottom: 3px solid #d9a300;
}

#isotope-container .directory.transport-directory-type {
  border-bottom: 3px solid #00a3d9;
}

#isotope-container .directory.nightlife-directory-type {
  border-bottom: 3px solid #d900d9;
}

#isotope-container .directory .post-thumbnail,
#isotope-container .directory .post-thumbnail img {
  display: block;
}

#isotope-container .directory .entry-header {
  padding: 20px 20px 0 20px;
}

#isotope-container .directory .entry-header .entry-title a {
}

#isotope-container .directory .entry-header .entry-title a:hover {
}

#isotope-container .directory .entry-content {
  padding: 20px;
}

#isotope-container .directory a.post-read-more {
}

#isotope-container .directory a.post-read-more:hover {
}

.paging-navigation .nav-links > div {
  display: inline-block;
}

/* Single Directory */

.single-directory-map {
  margin-bottom: 30px;
}

.single-directory-website-button {
  margin-left: 10px;
}

.single-directory-no-related {
  margin-top: 20px;

  border: 1px solid #094fa3;

  background: #e4f0ff;

  padding: 10px;

  color: #094fa3;
}

.single-directory-related h2 {
  float: left;
}

.single-directory-related .back-to-map {
  float: right;

  margin-bottom: 5px;
}

@media screen and (max-width: 650px) {
  #directory-location-search {
    display: block;

    width: 100%;

    margin-bottom: 15px;
  }

  #directory-location-search-submit {
    float: left;

    width: 48%;

    margin-right: 4%;
  }

  #directory-location-search-clear {
    float: left;

    width: 48%;
  }

  #directory-locations-select {
    width: 100%;

    display: block;

    margin-bottom: 15px;
  }

  #directory-types-select {
    width: 100%;

    display: block;
  }

  .single-directory-phone-button,
  .single-directory-website-button {
    display: block;

    width: 100%;

    margin: 0 0 15px;
  }

  .single-directory-website-button {
    margin: 0;
  }

  .directory-search {
    float: none;

    margin-bottom: 15px;

    text-align: center;
  }

  .directory-types {
    float: none;

    text-align: center;
  }

  .single-directory-container iframe {
    height: 250px;
  }

  .directory-page-header h1 {
    float: none;

    display: block;

    border-bottom: none;
  }

  .back-to-locations {
    display: block;

    margin: 10px 0;
  }

  #directory-controls {
    text-align: center;
  }

  .directory-page-header .toggle-directory-map {
    float: none;

    display: block;

    margin: 10px 0;
  }

  .directory-page-header .toggle-directory-map {
    display: none !important;
  }
}

/*--------------------------------------------------------------

Winners

--------------------------------------------------------------*/

.mm-winners-controls {
  margin-bottom: 30px;
}

.archive .winners {
  border: 1px solid #ddd;

  border-bottom: 3px solid #094fa3;

  -webkit-box-shadow: 0 0 6px 0 #ddd;

  box-shadow: 0 0 6px 0 #ddd;

  padding: 20px;

  margin-bottom: 30px;
}

.archive .winners.one-half {
  margin-right: 0;

  margin-left: 0;
}

.archive .winners.one-half.first {
  margin-right: 2.5%;
}

.archive .winners .image-overlay.two-fifths {
  margin: 0;
}

.mm-winners-field-title {
  color: #094fa3;
}

.mm-winner-term-title {
  margin-bottom: 20px;
}

.mm-winner-filter-select {
  background: #ddd;

  height: 33px;

  width: 150px;

  margin: 5px 15px 5px 0;
}

@media screen and (max-width: 500px) {
  .archive .winners {
    height: auto !important;
  }
}

/*--------------------------------------------------------------

Program of Races

--------------------------------------------------------------*/

table.program-of-races,
table.tablepress {
  border-collapse: collapse;
}

.tablepress tbody td {
  text-align: center;
}

table.program-of-races .desktop-hidden {
  display: none;
}

table.program-of-races p,
table.tablepress p {
  margin-bottom: 0;
}

table.program-of-races th,
table.tablepress thead th {
  background: #094fa3;

  color: #fff;

  padding: 8px;

  border-right: 3px solid #fff;

  text-align: center;

  text-transform: uppercase;

  font-size: 14px;
}

table.program-of-races th.races-heading-date {
}

table.program-of-races th.races-heading-race {
}

table.program-of-races th.races-heading-prizemoney {
}

table.program-of-races th.races-heading-distance {
}

table.program-of-races th.races-heading-location {
}

table.program-of-races th.races-heading-entries {
  width: 10%;
}

table.program-of-races th.races-heading-acceptances {
  width: 10%;
}

table.program-of-races tr.even td,
table.tablepress tr.even td {
  background: #e9e9e9;
}

table.program-of-races tr.odd td,
table.tablepress tr.odd td {
  background: #f9f9f9;
}

table.program-of-races td,
table.tablepress tbody td {
  padding: 5px;

  vertical-align: middle;

  text-align: left;

  border-right: 3px solid #fff;

  border-top: 3px solid #fff;
}

table.program-of-races td.date-cell {
  padding: 10px;

  font-weight: 700;
}

table.program-of-races td.center {
  text-align: center;
}

@media screen and (max-width: 700px) {
  table.program-of-races .desktop-hidden {
    display: block;
  }

  table.program-of-races .mobile-hidden {
    display: none;
  }

  table.program-of-races thead {
    display: none;
  }

  table.program-of-races tr {
    display: block;

    overflow: hidden;

    position: relative;

    width: 100%;
  }

  table.program-of-races tr.even td {
    background: none;
  }

  table.program-of-races tr.odd td {
    background: none;
  }

  table.program-of-races tr.even {
    background: none;
  }

  table.program-of-races tr.odd {
    background: none;
  }

  table.program-of-races tr {
    border-left: 2px solid #ddd;

    border-right: 2px solid #ddd;
  }

  table.program-of-races tr.bottom-row {
    margin-bottom: 20px;

    border-bottom: 3px solid #094fa3;
  }

  table.program-of-races tr.header-row td {
  }

  table.program-of-races tr.rows-of-races td {
    float: left;

    width: 33.333%;
  }

  table.program-of-races tr.header-row td.date-cell {
    width: 100%;

    float: left;

    background: #094fa3;

    color: #fff;

    text-align: center;

    border-right: none;
  }

  table.program-of-races tr.header-row td.date-cell .mobile-races-title {
    display: none;
  }

  table.program-of-races td {
    border: none;

    width: 33.333%;

    float: left;
  }

  table.program-of-races td.center {
    text-align: left;
  }

  table.program-of-races td.date-cell {
    padding: 5px;
  }

  table.program-of-races tr.rows-of-races.desktop-hidden {
  }

  table.program-of-races .rows-of-races td {
  }

  table.program-of-races .mobile-races-title {
    font-weight: 700;

    text-transform: uppercase;

    margin-bottom: 5px;
  }
}

@media screen and (max-width: 500px) {
  table.program-of-races td {
    width: 100%;
  }

  table.program-of-races p {
    display: inline-block;
  }

  table.program-of-races .mobile-races-title {
    display: inline-block;

    padding-right: 5px;
  }

  table.program-of-races tr.rows-of-races .mobile-races-title {
    display: block;
  }
}

@media screen and (max-width: 400px) {
}

/*--------------------------------------------------------------

Grids

--------------------------------------------------------------*/

.section-grid {
  border: 1px solid #ddd;

  border-bottom: 3px solid #094fa3;

  -webkit-box-shadow: 0 0 6px 0 #ddd;

  box-shadow: 0 0 6px 0 #ddd;

  padding: 0;

  position: relative;

  margin-bottom: 30px;
}

.section-grid .sections-grid-header {
  padding: 10px 10px 0 10px;
}

.section-grid .sections-grid-content {
  padding: 10px 10px 0 10px;
}

.section-grid .sections-grid-icons {
  /*	position: absolute;  something changed to make grid-icons miss aligned if not commented*/

  bottom: 0;

  padding: 10px;
}

.sections-grid-icons a {
  margin-left: 10px;
}

.sections-grid-icons a:first-child {
  margin-left: 0;
}

@media screen and (max-width: 500px) {
  .section-grid {
  }

  .sections-grid-container {
    height: auto !important;
  }

  .section-grid .sections-grid-icons {
    position: static;

    padding: 0 10px 10px 10px;
  }
}

/*--------------------------------------------------------------

Facebook Albums

--------------------------------------------------------------*/

div.imgboxouter {
  margin: 0 10px 30px;
}

div.imgboxgallery {
  top: 0;

  left: 0;

  border: none;

  border-radius: 0;
}

div.imgboxouter a {
  overflow: hidden;
}

div.imgboxblack {
  background: none;

  box-shadow: none;

  border-radius: 0;

  -webkit-background-size: cover !important;

  -moz-background-size: cover !important;

  -o-background-size: cover !important;

  background-size: cover !important;

  -webkit-transition: all 0.2s ease-in-out;

  -moz-transition: all 0.2s ease-in-out;

  -o-transition: all 0.2s ease-in-out;

  transition: all 0.2s ease-in-out;

  -webkit-backface-visibility: hidden;

  backface-visibility: hidden;
}

div.imgboxblack:hover {
  box-shadow: none;

  -webkit-transform: scale(1.1);

  -moz-transform: scale(1.1);

  -ms-transform: scale(1.1);

  -o-transform: scale(1.1);

  transform: scale(1.1);
}

div.titlebelow {
  overflow: visible;
}

/*--------------------------------------------------------------

Video Feed

--------------------------------------------------------------*/

.youtubechannelgallery ul.ytchagallery .ytc-row {
  width: 100% !important;
}

.youtubechannelgallery .ytcplayer-wrapper {
  margin-bottom: 40px !important;
}

.youtubechannelgallery ul.ytchagallery.ytc-columns4 li {
  border: 1px solid #ddd;

  border-bottom: 3px solid #094fa3;

  -webkit-box-shadow: 0 0 6px 0 #ddd;

  box-shadow: 0 0 6px 0 #ddd;

  padding: 0;

  padding: 0 !important;

  width: 23.125% !important;

  margin-left: 2.5% !important;

  margin-bottom: 20px !important;
}

.youtubechannelgallery ul.ytchagallery.ytc-columns4 li.ytccell-first {
  margin-left: 0 !important;

  clear: both !important;
}

.youtubechannelgallery ul.ytchagallery.ytc-columns4 li .ytcliinner {
  padding: 0 !important;
}

.youtubechannelgallery
  ul.ytchagallery.ytc-td-left.ytc-columns4
  div.ytcthumb-cont {
  margin: 0 !important;

  width: 100% !important;
}

.youtubechannelgallery .ytctitledesc-cont {
  clear: both;

  padding-left: 15px;

  padding-right: 15px;

  padding-bottom: 15px;
}

.youtubechannelgallery ul.ytchagallery .ytctitle {
  clear: both !important;

  padding: 10px 0;

  margin: 0;
}

@media screen and (max-width: 768px) {
  .youtubechannelgallery ul.ytchagallery.ytc-columns4 li,
  .youtubechannelgallery ul.ytchagallery.ytc-columns4 li.ytccell-first {
    width: 47% !important;

    margin: 0 1.5% !important;

    margin-bottom: 20px !important;
  }

  .youtubechannelgallery ul.ytchagallery.ytc-columns4 li.ytccell-first {
    clear: none !important;
  }
}

@media screen and (max-width: 500px) {
  .youtubechannelgallery ul.ytchagallery.ytc-columns4 li,
  .youtubechannelgallery ul.ytchagallery.ytc-columns4 li.ytccell-first {
    width: 100% !important;

    margin: 0 0 20px 0 !important;
  }
}

/*--------------------------------------------------------------

Racedays

--------------------------------------------------------------*/

.page-heading.racedays-page-title {
  margin-bottom: 20px;
}

h5.racedays-subtitle {
  color: #444;

  margin-bottom: 20px;
}

.racedays-featured-image {
  margin-bottom: 20px;
}

.racedays-featured-image .attachment-post-thumbnail {
  max-width: 780px;
}

.racedays-race {
  padding-bottom: 20px;

  border-bottom: 5px solid #ddd;
}

.racedays-races-field strong {
  text-transform: uppercase;

  width: 120px;

  display: inline-block;
}

.racedays-races-field span {
  display: inline-block;
}

/*--------------------------------------------------------------

Fashions on the Field

--------------------------------------------------------------*/

.fashions-genders > div {
  margin-bottom: 40px;

  text-align: center;
}

.gender-title {
  font-size: 22px;

  text-transform: uppercase;

  font-family: "Source Sans Pro", sans-serif;

  letter-spacing: 3px;
}

#mens-contact-form,
#womens-contact-form,
#womens-first-prize {
  margin-top: 40px;
}

#mens-contact-form h3,
#womens-contact-form h3 {
  margin-bottom: 20px;
}

#slideout {
  position: fixed;

  top: 40px;

  right: 0;

  width: 35px;

  padding: 12px 0;

  text-align: center;

  background: #ddd;

  -webkit-transition-duration: 0.3s;

  -moz-transition-duration: 0.3s;

  -o-transition-duration: 0.3s;

  transition-duration: 0.3s;

  -webkit-border-radius: 5px 0 0 5px;

  -moz-border-radius: 5px 0 0 5px;

  border-radius: 5px 0 0 5px;

  z-index: 5000;

  cursor: pointer;
}

#slideout_inner {
  position: fixed;

  top: 40px;

  right: -183px;

  background: #ddd;

  width: 183px;

  padding: 20px;

  -webkit-transition-duration: 0.3s;

  -moz-transition-duration: 0.3s;

  -o-transition-duration: 0.3s;

  transition-duration: 0.3s;

  text-align: left;

  -webkit-border-radius: 0 0 0 5px;

  -moz-border-radius: 0 0 0 5px;

  border-radius: 0 0 0 5px;

  z-index: 5000;
}

#slideout:hover {
  right: 183px;
}

#slideout:hover #slideout_inner {
  right: 0;
}

#wpcf7-f8674-p98-o1 textarea {
  height: 100px;
}

#wpcf7-f8674-p98-o1 input {
  margin-bottom: 15px;

  margin-right: 2%;

  width: 49%;
}

.last {
  margin-right: 0 !important;
}

#wpcf7-f8674-p98-o1 input[type="submit"] {
  float: left;
}

/*--------------------------------------------------------------

Footable

--------------------------------------------------------------*/

table.footable {
}

.footable-filter-container input {
  margin-bottom: 10px;
}

.footable > thead > tr > th,
.footable > thead > tr > td {
  text-shadow: none !important;
}

.footable h3 {
  line-height: 24px;

  margin: 5px 0 0;
}

tr.row-grey {
  background-color: #eee;
}

/*--------------------------------------------------------------

Contact Form 7

--------------------------------------------------------------*/

span.wpcf7-not-valid-tip {
  display: none;
}

div.wpcf7-response-output {
  margin: 0 0 20px 0;

  padding: 10px;
}

div.wpcf7-validation-errors {
  border: 2px solid #c8253e;

  background: #ffebee;

  color: #c8253e;
}

span.wpcf7-list-item {
  margin: 0;
}

span.wpcf7-list-item-label {
  margin-left: 10px;
}

input[type="text"].wpcf7-not-valid,
input[type="email"].wpcf7-not-valid,
input[type="url"].wpcf7-not-valid,
input[type="password"].wpcf7-not-valid,
input[type="search"].wpcf7-not-valid,
textarea.wpcf7-not-valid {
  border: 1px solid #c8253e;

  box-shadow: inset 0 0 2px 0 #c8253e;
}

input[type="text"].wpcf7-not-valid:focus,
input[type="email"].wpcf7-not-valid:focus,
input[type="url"].wpcf7-not-valid:focus,
input[type="password"].wpcf7-not-valid:focus,
input[type="search"].wpcf7-not-valid:focus,
textarea.wpcf7-not-valid:focus {
  box-shadow: inset 0 0 0 0 #c8253e, 0 0 2px 0 #c8253e;
}

select.wpcf7-not-valid {
  border: 1px solid #c8253e;
}

span.wpcf7-checkbox.wpcf7-not-valid {
  color: #c8253e;
}

.fashions-sex-field {
  display: none !important;
}

input[type="submit"].fashions-send {
  padding: 8px 20px;

  float: right;
}

#mens-contact-form,
#womens-contact-form,
#womens-first-prize,
#womens-second-prize,
#womens-third-prize {
  display: none;
}

.fof-prizes {
  padding: 20px;
  border: solid 1px #dddddd;
}

.fof-prizes a.button {
  width: 100%;
  margin-bottom: 10px;
}

.no-search .footable-filter {
  display: none;
}

/*--------------------------------------------------------------

Column Classes

--------------------------------------------------------------*/

#instafeed .instafeed-image {
  float: left;

  width: 23%;

  margin: 1%;
}

@media screen and (max-width: 768px) {
  #instafeed .instafeed-image {
    float: left;

    width: 31%;

    margin: 1%;
  }
}

@media screen and (max-width: 500px) {
  #instafeed .instafeed-image {
    float: left;

    width: 48%;

    margin: 1%;
  }
}

/*--------------------------------------------------------------

Column Classes

--------------------------------------------------------------*/

.five-sixths,
.four-sixths,
.four-fifths,
.one-fifth,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fourths,
.three-fifths,
.three-sixths,
.two-fourths,
.two-fifths,
.two-sixths,
.two-thirds {
  float: left;

  margin-left: 2.5%;

  position: relative;
}

.one-half,
.three-sixths,
.two-fourths {
  width: 48.75%;
}

.one-third,
.two-sixths {
  width: 31.666666666667%;
}

.four-sixths,
.two-thirds {
  width: 65.833333333333%;
}

.one-fourth {
  width: 23.125%;
}

.three-fourths {
  width: 74.375%;
}

.one-fifth {
  width: 18%;
}

.two-fifths {
  width: 38.5%;
}

.three-fifths {
  width: 59%;
}

.four-fifths {
  width: 79.5%;
}

.one-sixth {
  width: 14.583333333333%;
}

.five-sixths {
  width: 82.916666666667%;
}

.first {
  clear: both;

  margin-left: 0;
}

.bordered-column:before {
  content: "";

  position: absolute;

  left: -3%;

  top: 0;

  bottom: 0;

  width: 1px;

  background: #eee;

  display: block;
}

.one-fourth.bordered-column:before {
  left: -6%;
}

@media screen and (max-width: 768px) {
  /*	.first.one-third,

	.first.one-fourth {

		clear: none;

		margin-left: 2.5%;

	}



	.first-two-col {

		clear: both;

		margin-left: 0;

	}



	.one-third,

	.one-fourth {

			width: 48.75%;

	}

	*/
}

@media screen and (max-width: 500px) {
  .first,
  .first-two-col,
  .five-sixths,
  .four-sixths,
  .four-fifths,
  .one-fifth,
  .one-fourth,
  .one-half,
  .one-sixth,
  .one-third,
  .three-fourths,
  .three-fifths,
  .three-sixths,
  .two-fourths,
  .two-fifths,
  .two-sixths,
  .two-thirds {
    float: none;

    margin-left: 0;

    width: 100%;

    clear: none;
  }

  .bordered-column:before {
    display: none;
  }
}

/*--------------------------------------------------------------

jQuery UI

--------------------------------------------------------------*/

.ui-widget-overlay {
  background: #000;

  opacity: 0.7;

  position: fixed;
}

.ui-dialog {
  max-height: 90%;

  max-width: 1100px;

  width: 100% !important;

  text-align: left;

  overflow-y: scroll;
}

.dialog-popup iframe {
  max-width: 1100px;

  width: 100%;

  height: 400px;
}

.ui-dialog .ui-dialog-titlebar {
  background: none;

  padding: 0;

  border: 0;
}

.ui-dialog .ui-dialog-titlebar-close {
  background: none;

  border: none;
}

.ui-dialog .ui-dialog-titlebar-close span {
  top: 0;

  left: 0;
}

/*--------------------------------------------------------------

Flexslider V2.2.2

--------------------------------------------------------------*/

/* Browser Resets

*********************************/

.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus {
  outline: none;
}

.slides,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Icon Fonts

*********************************/

/* Font-face Icons */

/*@font-face {

	font-family: 'flexslider-icon';

	src:url('fonts/flexslider-icon.eot');

	src:url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),

		url('fonts/flexslider-icon.woff') format('woff'),

		url('fonts/flexslider-icon.ttf') format('truetype'),

		url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');

	font-weight: normal;

	font-style: normal;

}*/

@font-face {
  font-family: "FontAwesome";
  src: url("font-awesome/fonts/fontawesome-webfont.eot"),
    url("font-awesome/fonts/fontawesome-webfont.ttf") format("truetype"),
    url("font-awesome/fonts/fontawesome-webfont.svg") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* FlexSlider Necessary Styles

*********************************/

.flexslider {
  margin: 0;
  padding: 0;
}

.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
} /* Hide the slides before the JS is loaded. Avoids image jumping */

.flexslider .slides img {
  width: 100%;
  display: block;
}

.flex-pauseplay span {
  text-transform: capitalize;
}

/* Clearfix for the .slides element */

.slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

html[xmlns] .slides {
  display: block;
}

* html .slides {
  height: 1%;
}

/* No JavaScript Fallback */

/* If you are not using another script, such as Modernizr, make sure you

 * include js that eliminates this class on page load */

.no-js .slides > li:first-child {
  display: block;
}

/* FlexSlider Default Theme

*********************************/

.flexslider {
  margin: 0;
  overflow: hidden;
  background: #fff;
  position: relative;
  zoom: 1;
}

.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

.loading .flex-viewport {
  max-height: 300px;
}

.flexslider .slides {
  zoom: 1;
}

.carousel li {
  margin-right: 5px;
}

/* Direction Nav */

.flex-direction-nav {
  *height: 0;
}

.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 40px;
  height: 60px;
  margin: -20px 0 0;
  position: absolute;
  top: 50%;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  line-height: 1;
}

.flex-direction-nav .flex-prev {
  left: -50px;
}

.flex-direction-nav .flex-next {
  right: -50px;
  text-align: right;
}

.flexslider:hover .flex-prev {
  opacity: 0.7;
  left: 10px;
}

.flexslider:hover .flex-next {
  opacity: 0.7;
  right: 10px;
}

.flexslider:hover .flex-next:hover,
.flexslider:hover .flex-prev:hover {
  opacity: 1;
}

.flex-direction-nav .flex-disabled {
  opacity: 0 !important;
  filter: alpha(opacity=0);
  cursor: default;
}

.flex-direction-nav a:before {
  font-family: "FontAwesome";
  font-size: 60px;
  display: inline-block;
  content: "\f104";
}

.flex-direction-nav a.flex-next:before {
  content: "\f105";
}

/* Pause/Play */

.flex-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
}

.flex-pauseplay a:before {
  font-family: "FontAwesome";
  font-size: 20px;
  display: inline-block;
  content: "\f004";
}

.flex-pauseplay a:hover {
  opacity: 1;
}

.flex-pauseplay a.flex-play:before {
  content: "\f003";
}

/* Control Nav */

.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: 10px;
  text-align: center;
  z-index: 2;
}

.flex-control-nav li {
  margin: 0 5px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}

.flex-control-paging li a {
  width: 15px;
  height: 15px;
  display: block;
  background: #fff;
  cursor: pointer;
  text-indent: -9999px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
}

.flex-control-paging li a:hover {
  background: #094fa3;
}

.flex-control-paging li a.flex-active {
  background: #094fa3;
  cursor: default;
}

.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}

.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}

.flex-control-thumbs img {
  width: 100%;
  display: block;
  opacity: 0.7;
  cursor: pointer;
}

.flex-control-thumbs img:hover {
  opacity: 1;
}

.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
  }

  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
  }
}

/*--------------------------------------------------------------

Home Slider

--------------------------------------------------------------*/

.page-template-page-development .site-content {
  max-width: 100%;
  padding: 0;
}

.home-slider .flexslider .slides img {
  width: auto;
}

.flexslider.home-slider {
  background: #fff none repeat scroll 0 0;

  margin: 0;

  overflow: hidden;

  position: relative;
}

.home-slider li {
  position: relative;
}

.home-slider .banner-container {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  width: 100%;
}

.home-slider .banner-content {
  margin: 0 auto;

  max-width: 1200px;
}

.home-slider .flex-control-paging li a {
  border-radius: 0;
}

.home-slider .flex-control-nav {
  bottom: 10px;
}

.home-slider .flex-direction-nav {
  position: absolute;

  top: 50%;

  width: 100%;
}

.home-slider .flexslider .slides > li:first-child {
  backface-visibility: visible;

  display: block;
}

.home-slider .flexslider .slides .banner-content img {
  height: auto;

  width: auto;
}

.white h1,
.white h2,
.white p,
.white,
.white h3 {
  color: #fff;
}

.home-slider h1 {
  font-size: 54px;

  line-height: 1.2;

  margin-bottom: 2.5vh;
}

.youtube-icon {
  max-width: 10vh;
}

.home-slider h2 {
  font-size: 1.8vw;
}

.home-slider .button {
  font-size: 15px;

  margin-top: 0.8vw;
}

.home-slider .banner-content img {
  width: auto;
  height: auto;
}

.yellow-tag {
  background-color: #fdbe50;

  border-radius: 2px;

  color: #fff;

  display: inline-block;

  margin: 0 0 28px;

  padding: 3px 14px 2px;
}

@media screen and (max-width: 1240px) {
  .home-slider h1 {
    font-size: 3.7vw;

    margin-bottom: 1vh;
  }

  .youtube-icon {
    max-width: 5vh;
  }

  .home-slider .banner-content {
    padding: 0 40px;
  }

  .yellow-tag {
    margin-bottom: 1vh;
  }

  .home-slider .button {
    font-size: 12px;
  }
}

@media screen and (max-width: 645px) {
  .home-slider h1,
  .home-slider h2,
  .home-slider p,
  .home-slider,
  .home-slider h3 {
    color: #094fa3 !important;
  }

  .home-slider .banner-container {
    position: relative;

    top: 20px;

    transform: none;

    width: 100%;
  }

  .home-slider .banner-content {
    padding: 0 15px;
  }

  .flexslider.home-slider {
    background-color: #eee;
  }

  .flexslider.home-slider .slides {
    padding-bottom: 70px;
  }

  .flexslider .slides img {
    display: block;

    left: -90%;

    max-width: 200% !important;

    position: relative;

    width: 200% !important;
  }

  .flexslider .slides .youtube-icon {
    left: 0;

    max-width: 15vw !important;

    position: relative;
  }

  .home-slider h1 {
    font-size: 8vw;

    margin-bottom: 1vh;
  }

  .home-slider h3 {
    font-size: 6vw;
  }

  .flex-direction-nav {
    display: none;
  }
}

/*--------------------------------------------------------------

Precinct Map

--------------------------------------------------------------*/

.precinct-key,
.precinct-map {
  margin-top: 30px;
}

ul.the-map-key {
  list-style: outside none none;
}

ul.the-map-key span {
  background-color: red;

  border-radius: 20px;

  color: #fff;

  display: inline-block;

  height: 20px;

  line-height: 20px;

  margin-right: 10px;

  text-align: center;

  width: 20px;
}

ul.the-map-key li {
  margin-bottom: 10px;
}

.the-map-key h2 {
  border-top: 2px solid #ccc;

  margin: 20px 0 30px;

  padding-top: 30px;
}

li.hide-this a {
  display: none;
}

/*iPad Landscape*/

@media screen and (max-width: 1030px) {
}

/*iPad Portrait*/

@media screen and (max-width: 768px) {
  .tribe-events-loop .tribe-events-event-meta {
    display: block;

    font-size: 14px;

    margin: 10px 0 0;

    padding: 0 20px 20px;
  }
}

/*Phone Landscape*/

@media screen and (max-width: 640px) {
  .page-template-default .site-content .content-area {
    display: block;

    width: 100%;

    padding-left: 20px;

    padding-right: 20px;
  }

  .page-template-default .site-content .widget-area {
    display: block;

    width: 100%;

    padding-left: 20px;

    padding-right: 20px;
  }

  .page-template-default .site-content {
    display: block;

    padding: 0;
  }

  .tax-sa_tax_sources #isotope-container,
  .blog #isotope-container {
    margin-top: 20px;
  }

  .blog-filter-container a {
    color: #fff;

    display: block;

    font-size: 18px;

    margin: 0 10px;

    padding: 1px 15px;
  }
}

/*Phone Portrait*/

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

.button-row a {
  margin-bottom: 10px;

  margin-right: 10px;
}

/* Hide Event Listing Titles/Links */

.tribe-events-page-title a {
  display: none;
}

.ytc-pslb.ytc-thumbnails .ytc-row .ytc-column {
  padding: 10px;
}

.ytc-pslb.ytc-thumbnails.ytc-thumb-align-left .ytcthumb-cont {
  margin-bottom: 10px;

  position: static !important;
}

.ytc-pslb.ytc-links {
  display: none !important;
}

.ytc-row .ytc-column .col-sm-6 {
  width: 100% !important;
}

.vidcontainer {
  position: relative;

  width: 100%;

  height: 0;

  padding-bottom: 56.25%;
}

.video {
  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;
}

.post-type-archive-newsletter-articles .article-content {
  min-height: 260px;
}

.sales-list-year {
  background: #fff;

  padding: 20px;

  border-bottom: 2px solid #094fa3;

  margin-bottom: 20px;

  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.sales-list-year h3 {
  color: #333;
}

.sales-list-month {
  list-style-type: none;

  padding: 0 0 20px 0;

  margin: 0 0 20px;

  border-bottom: 5px solid #eee;
}

.sales-list-month span {
  color: #333;
}

.site-main {
  position: relative;
}

.sales-button {
  position: absolute;

  top: 10px;

  right: 0;
}

.sales-navigation {
  float: right;
}

.sales-filter {
  margin-bottom: 20px;
}

.sales-filter .button {
  margin-right: 10px;
}

.sales-filter select {
  border-top: 1px solid #ddd;

  border-right: 1px solid #ddd;

  border-bottom: 1px solid #ddd;

  border-left: 1px solid #ddd;

  border-radius: 2px;

  padding-left: 6px;

  box-shadow: inset 0 0 5px 0 #ddd;

  background: #fff;

  height: auto;

  font-weight: 400;

  font-size: 14px;

  height: 34px;

  width: 200px;

  margin-right: 10px;
}

.sales-filter input[type="text"] {
  width: 200px;

  margin-right: 10px;
}

@media screen and (max-width: 500px) {
  .sales-navigation {
    float: none;
    margin-top: 10px;
  }

  .sales-filter .button {
    width: 100%;

    margin-right: 0;
  }

  .sales-filter select {
    width: 100%;

    margin-right: 0;

    margin-top: 0;
  }

  .sales-filter input[type="text"] {
    width: 100%;

    margin-right: 0;

    margin-top: 10px;
  }

  .sales-filter button {
    width: 100%;

    margin-top: 10px;
  }
}

.sales-pagination {
  clear: both;

  padding: 20px 0;

  text-align: center;
}

.sales-pagination .page-numbers {
  padding: 8px 12px;

  background: #094fa3;

  display: inline-block;

  color: #fff;

  border-radius: 3px;

  margin: 0 1px;

  line-height: 1;
}

.sales-pagination .page-numbers:hover {
  background: #0a3971;
}

.sales-pagination .page-numbers.current {
  background: #999;
}

.sales-pagination .page-numbers.dots {
  background: none;

  color: #333;

  padding: 0;
}

.tribe-events-list .type-tribe_events:first-of-type {
  margin-top: 0 !important;
}

.flexslider.event-cat-slider {
	margin-bottom: 30px;
}

.tribe-common .event-cat-description {
	padding: 30px 0;
}

.event-cat-logo {
	width: 190px;
}


/***************************** Start of New Footer  *************************/

.footer-promo {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
	border-bottom: 1px solid #ddd;
}


.footer-cols {
	 padding: 20px 0; 
	border-bottom: 1px solid #ddd;
	display: flex;
    align-items: top;
    justify-content: space-between;
}

.prata {
	    color: #094fa3;
    font-family: "Prata", serif;
	font-size: 16px;
}

.footer-head {
	color: #094fa3;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 10px;
}


.footer-col .menu {
    margin: 0 0 0px 0px;
    list-style: none;
}


.footer-col ul.menu li {
	margin-bottom: 2px;	
}

.footer-contacts ul {
	margin: 0 0 0px 30px;
	list-style: none;
}

.footer-contacts ul li {
	margin-bottom: 6px;
}

.footer-contacts ul svg {
    position: absolute;
    margin: 3px 0 0 -30px;
}

.footer-socials a {
	color: #999;
    padding: 2px;
    font-size: 20px;
}

.footer-socials a:hover {
	color: #444;
	
}

@media screen and (max-width: 768px) {
	
	.footer-promo  {
		text-align:center;
	}
	.footer-promo {
		flex-direction: column;
	}
	.footer-promo div:first-of-type {
		margin-bottom: 20px;
	}
	
	.footer-cols {
		flex-wrap:wrap;
		column-count: 2;
	}
	.footer-col {
		width: 50%;
		margin-bottom: 20px;
	}
	.footer-cols {
		padding-bottom:0;
	}
}


@media screen and (max-width: 425px) {
	.footer-col {
		width: 100%
	}
}
	


/***************************** End of New Footer  *************************/