/*
Theme Name: Vidiho
Theme URI: http://www.cssigniter.com/ignite/themes/vidiho
Author: CSSIgniter
Author URI: http://www.cssigniter.com
Description: Video theme for WordPress
Version: 2.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* -----------------------------------------
	Table of Contents
--------------------------------------------

.. 01. General
.. 02. Main Navigation
.. 03. Header
.. 04. Modules
.. 05. Footer
.. 06. Comments
.. 07. Widgets Styling
.. 08. WordPress defaults
.. 09. Mobile Menu
.. 10. External Plugins
.. 11. Global Mediaqueries
*/
/* -----------------------------------------
	01. General
----------------------------------------- */
/* Basic Typography
=================================== */
body {
  line-height: 1.625;
  font-size: 15px;
  color: #333;
  font-family: Lora, Georgia, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #F5F5F5;
}

h1, h2, h3, .section-title, .widget-title, h4, h5, h6 {
  line-height: normal;
  margin: 0 0 15px 0;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
  font-family: Lato, Helvetica, Arial, sans-serif;
  font-weight: 700;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 25px;
}

h3, .section-title, .widget-title {
  font-size: 22px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 16px;
}

h6 {
  font-size: 14px;
}

p {
  margin: 0 0 15px 0;
}

img {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

a {
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  outline: none;
  color: #2e2e2e;
  text-decoration: none;
  font-weight: bold;
}
a:hover, a:focus {
  color: #1B94E1;
  outline: none;
  text-decoration: none;
}
a:active {
  outline: none;
}

.group:before, .group:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}
.group:after {
  clear: both;
}

/* General Element Styling
=================================== */
/* Reset figure margin from normalize.css */
figure {
  margin: 0;
}

/* Lists */
ul, ol {
  padding-left: 20px;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

dl {
  margin: 0 0 20px;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 0 15px;
}

/* Blockquotes */
blockquote {
  margin: 20px 0;
  padding-left: 15px;
  border-left: 3px solid #ccc;
  font-size: 17px;
  font-weight: 300;
}
blockquote cite {
  display: block;
  font-weight: bold;
  font-style: italic;
  margin: 10px 0 0;
  color: rgba(51, 51, 51, 0.8);
  font-size: 14px;
}

/* Tables */
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.entry-content table {
  border-width: 1px 0 0 1px;
  margin-bottom: 24px;
}
.entry-content th:first-child,
.entry-content td:first-child {
  padding-left: 0;
}
.entry-content th,
.entry-content td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.entry-content caption,
.entry-content th,
.entry-content td {
  font-weight: normal;
  text-align: left;
  padding: 5px;
  vertical-align: middle;
}
.entry-content th {
  border-width: 0 1px 1px 0;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 85%;
}
.entry-content td {
  border-width: 0 1px 1px 0;
}

/* Code */
code, kbd, tt, var, samp, pre {
  font-family: monospace, serif;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  font-style: normal;
}

pre {
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Various */
address {
  margin: 0 0 15px;
}

.sr-only,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Embeds and iframes
=================================== */
embed,
iframe,
object,
video,
audio {
  margin-bottom: 15px;
  max-width: 100%;
}

p > embed,
p > iframe,
p > object,
p > audio,
span > embed,
span > iframe,
span > object,
span > audio {
  margin-bottom: 0;
}

#map * {
  max-width: none !important;
}

/* General Form Styling
=================================== */
label {
  display: block;
  margin: 0 0 2px;
  font-weight: normal;
}

input,
textarea {
  display: inline-block;
  font-size: inherit;
  width: 100%;
  max-width: 100%;
  height: 54px;
  padding: 6px 12px;
  line-height: normal;
  border: 1px solid rgba(0, 0, 0, 0.09);
  background-color: #FFF;
  background-image: none;
  border-radius: 0;
  box-shadow: inset 2px 2px 0 0 rgba(0, 0, 0, 0.03);
  transition: all 0.18s ease;
}
input:hover,
textarea:hover {
  border: 1px solid rgba(0, 0, 0, 0.15);
}
input:focus,
textarea:focus {
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: inset 2px 2px 0 0 rgba(0, 0, 0, 0.06);
  outline: none;
}
@media (max-width: 767px) {
  input,
  textarea {
    width: 100%;
  }
}

input[type="search"] {
  /* Restoring box-sizing */
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

textarea {
  height: auto;
}

select {
  max-width: 100%;
}

input[type="checkbox"],
input[type="radio"] {
  margin: 4px 0 0;
  margin-top: 1px \9;
  line-height: normal;
  width: auto;
  height: auto;
}

fieldset {
  margin: 0 0 15px;
  padding: 0;
  border: none;
  min-width: 0;
}

/* Placeholder text color */
::-webkit-input-placeholder {
  color: rgba(51, 51, 51, 0.5);
  font-weight: normal;
  opacity: 1;
}

:-moz-placeholder {
  color: rgba(51, 51, 51, 0.5);
  font-weight: normal;
  opacity: 1;
}

::-moz-placeholder {
  color: rgba(51, 51, 51, 0.5);
  font-weight: normal;
  opacity: 1;
}

:-ms-input-placeholder {
  color: rgba(51, 51, 51, 0.5);
  font-weight: normal;
  opacity: 1;
}

/* Buttons
=================================== */
.btn, .comment-reply-link,
input[type="button"],
input[type="submit"],
input[type="reset"],
button {
  display: inline-block;
  font-weight: normal;
  font-size: 14px;
  margin: 0;
  width: auto;
  height: auto;
  line-height: normal;
  border: none;
  box-shadow: none;
  border-radius: 0;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  white-space: nowrap;
  padding: 14px 20px 13px;
  text-transform: uppercase;
  background-color: #2E2E2E;
  color: #FFF;
  letter-spacing: 0.04em;
  font-family: Lato, Helvetica, Arial, sans-serif;
  transition: 0.18s background-color ease, color 0.18s ease,  0.18s border-color ease;
  -webkit-user-selsect: none;
  -moz-user-select: none;
  user-select: none;
}
.btn:active, .comment-reply-link:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
button:active {
  outline: none;
}
.btn:hover, .comment-reply-link:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover {
  background: #222;
  color: #FFF;
  text-decoration: none;
}
.btn:focus, .comment-reply-link:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
button:focus {
  outline: none;
}

/* Flexslider Overrides
=================================== */
.flexslider {
  margin: 0;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  border: 0;
}
.flexslider.loading:before {
  width: 40px;
  height: 40px;
  background-color: #FFF;
  border-radius: 100%;
  -webkit-animation: scaleout 1.0s infinite ease-in-out;
  animation: scaleout 1.0s infinite ease-in-out;
  content: "";
  position: absolute;
  right: 45px;
  top: 20px;
  z-index: 1000;
}
.flexslider .slides li:after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1000;
}

@-webkit-keyframes scaleout {
  0% {
    -webkit-transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 0;
  }
}
@keyframes scaleout {
  0% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  100% {
    transform: scale(1);
    -webkit-transform: scale(1);
    opacity: 0;
  }
}
.flex-direction-nav a {
  width: 40px;
  height: 60px;
  top: 50%;
  margin: -30px 0 0;
  opacity: 0.7;
  color: #FFF;
  line-height: normal;
}
.flex-direction-nav a:hover {
  color: #FFF;
  opacity: 1;
}
.flex-direction-nav a:before {
  font-family: FontAwesome;
  content: '\f104';
  font-size: 60px;
}
.flex-direction-nav a.flex-next:before {
  content: '\f105';
}
.flex-direction-nav a.flex-next {
  right: 40px !important;
}
.flex-direction-nav a.flex-prev {
  left: 40px !important;
}

.flexslider .slides > li:first-child {
  display: block;
  /* Display flexslider's first item no matter if its loading or not */
  -webkit-backface-visibility: visible;
}

.flexslider.loading .slides > li:first-child {
  opacity: 1 !important;
  /* Remove the fade in/out animation when the slider loads */
}

/* -----------------------------------------
	02. Main Navigation
----------------------------------------- */
#nav {
  clear: both;
}

#nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#navigation:before, #navigation:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}
#navigation:after {
  clear: both;
}
#navigation li {
  position: relative;
  z-index: 100;
}
#navigation > li {
  float: left;
}
#navigation ul {
  position: absolute;
  z-index: 300;
  top: -999em;
}
#navigation li:hover > ul,
#navigation .sfHover > ul {
  top: auto;
}
#navigation li li:hover > ul,
#navigation li .sfHover > ul {
  top: 0;
  left: 100%;
}
#navigation li li li:hover > ul,
#navigation li li .sfHover > ul {
  top: 0;
  left: 100%;
}
#navigation a, #navigation #navigation a:visited {
  display: block;
  white-space: nowrap;
}
#navigation a {
  text-transform: uppercase;
  padding: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  /* Global Menu Link Styles */
}
#navigation > li:first-child > a {
  margin-left: 0;
}
#navigation > li:last-child > a {
  margin-right: 0;
}
#navigation a:hover,
#navigation .sfHover > a {
  color: #FFF;
  text-decoration: none;
  /* First Level & Global Menu Link Hover Styles */
}
#navigation > li > a {
  margin: 0 15px;
  /* First Level Menu Link Styles */
}
#navigation > li ul a {
  padding: 5px 20px;
  /* All Other Menu Level Link Styles */
}
#navigation > li ul a:hover,
#navigation > li ul .sfHover > a {
  /* All Other Level Menu Link Hover Styles */
}
#navigation > li > a:hover,
#navigation > li.sfHover > a,
#navigation > li.sfHover > a:active,
#navigation > li.current_page_item > a,
#navigation > li.current-menu-item > a,
#navigation > li.current-menu-ancestor > a,
#navigation > li.current-menu-parent > a,
#navigation > li.current > a {
  color: #FFF;
  /* WordPress First Level Current/Ancestor Hover Page Styles */
}
#navigation ul {
  padding: 15px 20px 8px 0;
  background-color: #272626;
  /* All Lower Level Menu Container Styles */
}
#navigation a.sf-with-ul {
  padding-right: 10px;
  position: relative;
  /* Styling for navigation arrows  ---------- */
}
#navigation.sf-arrows .sf-with-ul:after {
  content: '\f078';
  font-family: FontAwesome;
  position: absolute;
  top: 50%;
  right: -2px;
  margin-top: -9px;
  font-size: 8px;
  font-weight: normal;
}
#navigation.sf-arrows ul .sf-with-ul:after {
  right: 3px;
  margin-top: -6px;
  content: "\f054";
  /* Styling for right facing arrows  ---------- */
}

/* -----------------------------------------
	03. Header
----------------------------------------- */
.header {
  color: rgba(255, 255, 255, 0.5);
  background-color: #2F2E2D;
}

.header-wrap {
  padding: 20px 25px 15px;
  background-color: rgba(0, 0, 0, 0.15);
}

.pre-head {
  border-bottom: 1px solid rgba(179, 179, 179, 0.5);
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.pre-head:before, .pre-head:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}
.pre-head:after {
  clear: both;
}

.header-socials {
  padding-top: 5px;
}
.header-socials .widget-title {
  display: none;
}
.header-socials .widget {
  margin: 0;
  text-align: right;
}

.site-logo {
  margin: 0;
  line-height: normal;
}
.site-logo a, .site-logo a:hover {
  color: #FFF;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
  margin: 0;
  float: left;
}

.site-tagline {
  font-size: 10px;
  text-transform: uppercase;
  float: left;
  width: 150px;
  font-family: Lora, Georgia, serif;
  margin: 2px 0 0 0;
  color: #939393;
  letter-spacing: 0.03em;
  line-height: normal;
  margin-top: 6px;
  border-left: 1px solid rgba(179, 179, 179, 0.5);
  padding-left: 15px;
  margin-left: 15px;
}

/* -----------------------------------------
	04. Modules
----------------------------------------- */
.main {
  padding: 40px 25px 10px;
  background: #FFF;
}
.main.home {
  padding-top: 210px;
}

.sidebar {
  margin: 0 0 60px;
}

/* Home Slider
=================================== */
.home-slider-container {
  background-color: #2F2E2D;
  height: 613px;
}

.home-slider {
  padding: 0 25px;
  background-color: rgba(0, 0, 0, 0.15);
}
.home-slider iframe {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  height: 613px;
}
.home-slider .slides li {
  line-height: 0;
}

.secondary-slider {
  margin: -40px 0 40px;
}

.slide-content {
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 20px 15px;
  margin: 0;
  background: #2F2E2D;
  line-height: 1.6;
}
.slide-content p {
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  font-size: 17px;
  max-width: 80%;
  margin: 0 auto 15px;
}

.slide-title a, .slide-title a:hover {
  color: #FFF;
  font-size: 24px;
  font-weight: 900;
}

/* Home Slider
=================================== */
.item {
  margin: 0 0 30px;
  padding: 0 0 25px;
  border-bottom: 3px solid #313131;
}
.item.item-alt {
  margin: 0 0 35px;
  border: 0;
  padding: 0;
}

.item-thumb {
  margin: 0 0 10px;
}

a.zoom {
  display: block;
  position: relative;
}
a.zoom:after {
  font-family: FontAwesome;
  content: "\f01d";
  color: #FFF;
  opacity: 0.7;
  font-size: 54px;
  position: absolute;
  top: 50%;
  left: 50%;
  line-height: 0;
  margin-left: -24px;
  transition: all 0.18s ease;
}
a.zoom:hover:after {
  opacity: 1;
}

.item-title {
  margin: 5px 0 10px;
}

/* Entry styles
=================================== */
.section-title, .widget-title {
  font-family: Lora, Georgia, serif;
  font-style: italic;
  font-weight: normal;
  font-size: 22px;
  z-index: 0;
  margin: 0 0 30px;
}
.section-title span, .widget-title span {
  float: left;
  margin-right: 20px;
}
.section-title:after, .widget-title:after {
  content: "";
  overflow: hidden;
  display: block;
  border-bottom: 4px double #F2F2F2;
  height: 0.92em;
}
.footer .section-title:after, .footer .widget-title:after {
  border-bottom: 4px double #5E5E5E;
}

.entry-time,
.item-time,
.entry-meta {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.entry-meta {
  margin: -16px 0 20px;
}

.entry-title {
  letter-spacing: -0.03em;
  font-weight: 900;
}

.entry-thumb {
  margin: 0 0 30px;
}

.entry-content:before, .entry-content:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}
.entry-content:after {
  clear: both;
}
.entry-content blockquote {
  font-style: italic;
  font-size: 20px;
}
.entry-content blockquote cite {
  text-transform: uppercase;
  font-style: normal;
  font-size: 12px;
  font-weight: normal;
}

/* Pagination
=================================== */
#paging {
  margin: 0 0 35px;
}
#paging a, #paging > span {
  background-color: #333;
  display: inline-block;
  line-height: normal;
  margin-right: 2px;
  color: #fff;
  padding: 11px 17px;
  font-size: 13px;
  border: 0;
  text-transform: uppercase;
}
#paging span.current, #paging a:hover {
  background-color: #5E5E5E;
}

/* -----------------------------------------
	05. Footer
----------------------------------------- */
.footer {
  background-color: #2F2E2D;
  color: #f2f2f2;
}
.footer a {
  color: #FFF;
  transition: opacity 0.18s ease;
}
.footer a:hover {
  color: #FFF;
  opacity: 0.7;
}

.footer-inner {
  padding: 40px 25px;
}

.copy {
  background: rgba(0, 0, 0, 0.15);
  padding: 11px 0 0;
  text-transform: uppercase;
  font-size: 13px;
}
.copy .copy-inner {
  padding: 0 25px;
}
.copy p {
  margin: 0 0 10px;
}
.copy .text-right {
  text-align: right;
}

/* -----------------------------------------
   06. Comments
----------------------------------------- */
#comments {
  margin: 40px 0 30px;
}

#comment-list {
  margin: 0;
  list-style: none;
  padding: 0;
}
#comment-list ol {
  list-style: none;
}
@media (max-width: 767px) {
  #comment-list ol {
    margin: 0;
    padding: 0;
  }
}
#comment-list .comment-body {
  margin-bottom: 20px;
  padding-top: 20px;
}
#comment-list > .comment:first-child > .comment-body {
  border-top: none;
  padding-top: 0;
}

.post-comments {
  margin: 0 0 45px;
}

.comment-author b {
  font-weight: normal;
  text-transform: uppercase;
  font-size: 12px;
}

.comment-author .avatar {
  width: 64px;
  height: 64px;
  float: left;
  margin: 0 15px 15px 0;
  overflow: visible;
}
@media (max-width: 767px) {
  .comment-author .avatar {
    display: none;
  }
}

.comment-content {
  overflow: hidden;
  zoom: 1;
  font-size: 13px;
}

.comment-metadata {
  font-size: 12px;
  margin: 0 0 5px;
  font-style: italic;
}
.comment-metadata time {
  font-weight: normal;
  opacity: 0.8;
}

.comment-reply-link {
  font-size: 10px;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-left: 80px;
  height: auto;
}
@media (max-width: 767px) {
  .comment-reply-link {
    margin: 0;
  }
}

.bypostauthor > article .fn:before {
  font-family: FontAwesome;
  content: "\f005";
  margin: 0 2px 0 -2px;
  position: relative;
  top: -1px;
  font-size: 11px;
}

#cancel-comment-reply-link {
  font-size: 13px;
  font-weight: normal;
  margin-left: 5px;
}

.form-allowed-tags,
.comment-notes {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(51, 51, 51, 0.8);
}

/* -----------------------------------------
	07. Widgets Styling
----------------------------------------- */
.widget {
  margin: 0 0 45px;
}
.widget:last-child {
  margin: 0;
}

.sidebar .widget:last-child,
.widget p:last-child {
  /* Nullify bottom margin for last elements in widgets and sidebars */
  margin-bottom: 0;
}

/* WIDGET: #List Widgets
========================================= */
.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget ul li {
  padding: 5px 0;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0;
}

.widget ul ul.children li:first-child {
  border-top: 1px dotted rgba(0, 0, 0, 0.1);
  margin-top: 6px;
}

.widget ul li:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.widget ul.children li {
  padding-left: 15px;
}

.widget .current-cat > a,
.widget .current-cat-parent > a {
  font-weight: bold;
}

/* WIDGET: #Ads125
========================================= */
#ads125,
.ads125 {
  margin: 0;
  padding: 0;
  list-style: none;
}
#ads125 li,
.ads125 li {
  background: none;
  border: none;
  float: left;
  margin: 0 15px 10px 0;
  padding: 0;
  max-width: 125px;
  height: auto;
}

/* WIDGET: #Search
========================================= */
.searchform > div {
  position: relative;
}
.searchform .searchsubmit {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
}

/* WIDGET: #Flickr
========================================= */
.flickr_badge_image {
  float: left;
  margin: 0 15px 15px 0;
  border: 5px solid #F2F2F2;
}
.footer .flickr_badge_image {
  border: 5px solid #5E5E5E;
}
.flickr_badge_image a {
  display: block;
  line-height: 0;
}

/* WIDGET: #About
========================================= */
.widget_about {
  margin-top: -5px;
}
.widget_about img {
  max-width: 100px;
  height: auto;
}
.widget_about .alignleft {
  float: left;
  margin: 5px 15px 6px 0;
}
.widget_about .alignright {
  float: right;
  margin: 5px 0 6px 15px;
}

/* WIDGET: #Text Widget
========================================= */
.widget_text p:last-child {
  margin-bottom: 0;
}

/* WIDGET: #Twitter
========================================= */
.widget_ci_twitter_widget ul li {
  margin-bottom: 12px;
}
.widget_ci_twitter_widget ul li:first-child {
  padding-top: 0;
}
.widget_ci_twitter_widget .twitter-time {
  display: block;
  font-size: 0.85em;
}

/* WIDGET: #Calendar
================================================== */
#wp-calendar {
  width: 100%;
}
#wp-calendar a {
  font-weight: bold;
  font-style: italic;
}
#wp-calendar caption {
  text-align: left;
  margin-top: 10px;
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.03);
  padding: 9px;
}
#wp-calendar thead {
  font-size: 10px;
}
#wp-calendar thead th {
  background: rgba(0, 0, 0, 0.1);
  font-weight: bold;
  padding: 8px;
}
#wp-calendar tbody td {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 3px;
}
#wp-calendar tbody td:hover {
  background: rgba(0, 0, 0, 0.1);
}
#wp-calendar tbody .pad {
  background: none;
}
#wp-calendar tfoot #next {
  font-size: 10px;
  text-transform: uppercase;
  text-align: right;
}
#wp-calendar tfoot #prev {
  font-size: 10px;
  text-transform: uppercase;
  padding-top: 10px;
}

/* WIDGET: #Social Icons (HTML only)
========================================= */
.social-icon i {
  width: 36px;
  height: 36px;
  line-height: 36px;
  background-color: #333;
  color: #FFF;
  border: 1px solid #333;
  font-size: 24px;
  border-radius: 36px;
  text-align: center;
  display: inline-block;
}

.social-icon:hover i {
  background-color: #575757;
}

/* -----------------------------------------
	08. WordPress Defaults
----------------------------------------- */
/* WordPress Galleries
=================================== */
.gallery {
  margin-left: -5px;
  margin-right: -5px;
  margin-bottom: 15px;
}
.gallery:before, .gallery:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}
.gallery:after {
  clear: both;
}

.gallery-item {
  margin-bottom: 10px;
}
.gallery-item img {
  width: 100%;
}

.gallery-columns-1 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}
@media (min-width: 768px) {
  .gallery-columns-1 .gallery-item {
    float: left;
    width: 100%;
  }
}

.gallery-columns-2 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}
@media (min-width: 768px) {
  .gallery-columns-2 .gallery-item {
    float: left;
    width: 50%;
  }
}

.gallery-columns-3 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}
@media (min-width: 768px) {
  .gallery-columns-3 .gallery-item {
    float: left;
    width: 33.33333%;
  }
}

.gallery-columns-4 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}
@media (min-width: 768px) {
  .gallery-columns-4 .gallery-item {
    float: left;
    width: 25%;
  }
}

.gallery-columns-5 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}
@media (min-width: 768px) {
  .gallery-columns-5 .gallery-item {
    float: left;
    width: 20%;
  }
}

.gallery-columns-6 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}
@media (min-width: 768px) {
  .gallery-columns-6 .gallery-item {
    float: left;
    width: 16.66667%;
  }
}

.gallery-columns-7 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}
@media (min-width: 768px) {
  .gallery-columns-7 .gallery-item {
    float: left;
    width: 14.28571%;
  }
}

.gallery-columns-8 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}
@media (min-width: 768px) {
  .gallery-columns-8 .gallery-item {
    float: left;
    width: 12.5%;
  }
}

.gallery-columns-9 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}
@media (min-width: 768px) {
  .gallery-columns-9 .gallery-item {
    float: left;
    width: 11.11111%;
  }
}

.gallery-caption {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 0 5px;
  max-height: 50%;
  opacity: 0;
  padding: 6px 8px;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: left;
  width: calc(100% - 10px);
  transition: opacity 0.18s ease;
}

.gallery-caption:before {
  content: "";
  height: 100%;
  min-height: 49px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
  display: none;
}

/* WordPress Classes
=================================== */
/* Alignment */
.alignnone {
  margin: 5px 0 20px 0;
}
p .alignnone {
  margin-bottom: 0;
}

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

.alignright {
  float: right;
  margin: 7px 0 7px 24px;
}

.alignleft {
  float: left;
  margin: 7px 24px 7px 0;
}

/* Captions */
.wp-caption {
  max-width: 100%;
  margin-bottom: 15px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  padding: 0;
  width: auto;
}

.wp-caption .wp-caption-text {
  font-size: 12px;
  line-height: 17px;
  margin: 3px 0 5px;
  padding: 5px 0 0 0;
  text-align: left;
  font-style: italic;
}

.sticky {
  /* Style if needed */
}

/* -----------------------------------------
  09.  MOBILE MENU
----------------------------------------- */
#mobilemenu {
  display: none;
}
@media (max-width: 767px) {
  #mobilemenu {
    display: block;
  }
}

#mobile-bar {
  display: none;
  text-align: center;
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #FFF;
  padding: 15px 10px 0 10px;
  height: 48px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
@media (max-width: 767px) {
  #mobile-bar {
    display: block;
  }
}

.menu-trigger,
.menu-trigger:focus {
  width: 24px;
  height: 21px;
  background: none;
  cursor: pointer;
  opacity: 0.85;
  margin: 0;
  outline: none;
  position: absolute;
  left: 10px;
  top: 9px;
  color: #333;
  font-size: 30px;
  line-height: 1;
}

.menu-trigger:hover {
  opacity: 0.95;
  color: #333;
}

.menu-trigger:active {
  opacity: 1;
}

.mob-title {
  color: #222;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
  margin: 0;
  padding: 0;
}

/* -----------------------------------------
	10. External Plugins
----------------------------------------- */
/* Jetpack Sharing */
.sharedaddy {
  margin-top: 30px;
}

/* WP Instagram */
.null-instagram-feed p {
  padding-top: 10px;
}

.widget .instagram-pics:before, .widget .instagram-pics:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}
.widget .instagram-pics:after {
  clear: both;
}

.widget .instagram-pics li {
  border-bottom: 0;
  padding: 0;
  float: left;
  width: 33.33333333333%;
}
.widget .instagram-pics li a {
  display: block;
}

/* -----------------------------------------
	11. Global Mediaqueries
----------------------------------------- */
@media (max-width: 1199px) {
  .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .home-slider-container,
  .home-slider iframe {
    height: 500px;
  }
}
@media (max-width: 991px) {
  .home-slider-container,
  .home-slider iframe {
    height: 377px;
  }

  .main.home {
    padding-top: 230px;
  }
}
@media (max-width: 767px) {
  #page {
    padding-top: 48px;
    /* For mobile bar */
  }

  #nav {
    display: none;
  }

  .pre-head {
    margin-bottom: 5px;
  }

  .site-logo {
    float: none;
    display: block;
    text-align: center;
  }
  .site-logo a {
    float: none;
  }

  .site-tagline {
    float: none;
    margin: 0;
    padding: 0;
    border: none !important;
    width: auto;
    text-align: center;
  }

  .header-socials {
    padding-top: 10px;
  }
  .header-socials .widget {
    text-align: center;
  }

  .home-slider-container {
    height: auto;
  }

  .slide-hold {
    width: 100%;
    position: relative;
    padding: 0;
    padding-top: 56.2064156206416%;
  }

  .home-slider iframe,
  .slide-hold img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .home-slider {
    padding: 0;
  }

  .main.home {
    padding-top: 35px;
  }

  .slide-content {
    margin: 0;
    border: 0;
    position: static;
  }
  .slide-content p {
    font-size: 14px;
  }

  .flex-direction-nav a.flex-prev {
    bottom: 15px;
    left: 10px !important;
  }

  .flex-direction-nav a.flex-next {
    bottom: 15px;
    right: 10px !important;
  }

  .secondary-slider {
    margin-left: -15px;
    margin-right: -15px;
  }

  .main {
    margin: 0 -15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer-inner {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }
  .footer-inner .widget {
    margin: 0 0 40px;
  }

  .copy {
    text-align: center;
  }
  .copy .text-right {
    text-align: center;
    margin: -5px 0 15px;
  }
}
